chore: release main #20618
This file contains 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: vet | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
env: | |
GOTOOLCHAIN: local | |
jobs: | |
vet: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21.x' | |
- name: Install tools | |
# go: golang.org/x/tools/cmd/goimports@latest: golang.org/x/[email protected] requires go >= 1.22.0 | |
run: | | |
go install golang.org/x/lint/golint@latest && \ | |
go install golang.org/x/tools/cmd/[email protected] && \ | |
go install honnef.co/go/tools/cmd/[email protected] | |
- name: Execute vet.sh | |
run: ./.github/workflows/vet.sh |