We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d736fb1 commit dc72005Copy full SHA for dc72005
1 file changed
.github/workflows/build.yml
@@ -64,15 +64,14 @@ jobs:
64
with:
65
go-version: '1.23'
66
67
- - name: Install golangci-lint
68
- run: |
69
- # Download and install golangci-lint v2.6.2
70
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.2
71
- golangci-lint --version
72
-
73
- name: Run golangci-lint
74
- run: GOOS=${{ matrix.goos }} golangci-lint run --timeout=5m --config=../.golangci.yml
75
- working-directory: src
+ uses: golangci/golangci-lint-action@v7
+ with:
+ version: v2.7.2
+ working-directory: src
+ args: --timeout=5m --config=../.golangci.yml
+ env:
+ GOOS: ${{ matrix.goos }}
76
77
- name: Verify no linting issues
78
if: success()
0 commit comments