update go.mod #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |