Skip to content

update go.mod

update go.mod #40

Workflow file for this run

name: update go.mod
on:
workflow_dispatch: {}
jobs:
update_deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
cache: true
- run: go get -u
- run: go mod tidy
- name: Build
run: |
go build
go build -tags wasmer
go build -tags wasmtime
go build -tags docker
go build -tags wazero
- name: Test
run: |
go test
go test -tags wasmer
go test -tags wasmtime
go test -tags docker
go test -tags wazero
- name: Create PR
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GH_PAT }}
commit-message: Update Dependencies
title: 'auto update dependencies'
add-paths: |
go.mod
go.sum