Use the latest minor Go version (#73) #139
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
GOLANGCI_LINT_VERSION: v1.57.2 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
check-latest: true | |
- uses: golangci/golangci-lint-action@v5 | |
with: | |
version: ${{ env.GOLANGCI_LINT_VERSION }} | |
args: --verbose --timeout 5m |