Update zerolint version #8
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: Test | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test on Go ${{ matrix.go }} | |
permissions: | |
checks: write | |
contents: read | |
pull-requests: read | |
statuses: write | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
go: ["1.23", "1.22"] | |
env: | |
GOTOOLCHAIN: local | |
steps: | |
- name: ✔ Check out | |
uses: actions/checkout@v4 | |
- name: 🐹 Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
- name: 🧸 golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60.1 | |
args: --config=.golangci-default.yaml | |
- name: 🔨 Test | |
run: golangci-lint custom -v && ./custom-gcl run -v . |