Update ci.yml
cognitive committed
Oct 23, 2025 at 02:02 UTC
65b07e7312c7b61808d84df1027973e5f8b1975f
1 file changed
+13
-14
.github/workflows/ci.yml
+13
-14
@@ -53,7 +53,7 @@ jobs:
53
run: go vet ./...
54
55
- name: Install golangci-lint
56
- uses: golangci/golangci-lint-action@v6
56
+ uses: golangci/golangci-lint-action@v8
57
with:
58
version: v2.5.0
59
args: --timeout=5m --config=.golangci.yml
@@ -169,12 +169,6 @@ jobs:
169
go install honnef.co/go/tools/cmd/staticcheck@latest
170
staticcheck ./...
171
172
- - name: Run gosec (security scanner)
173
- run: |
174
- go install github.com/securego/gosec/v2/cmd/gosec@latest
175
- gosec -fmt=json -out=gosec-report.json ./... || true
176
- gosec ./...
177
-
172
- name: Check for ineffective assignments
173
run: |
174
go install github.com/gordonklaus/ineffassign@latest
@@ -185,13 +179,18 @@ jobs:
179
go install honnef.co/go/tools/cmd/staticcheck@latest
180
staticcheck -checks=U1000 ./...
181
188
-
189
- - name: Upload gosec report
190
- uses: actions/upload-artifact@v4
191
- with:
192
- name: gosec-report
193
- path: gosec-report.json
194
- retention-days: 7
182
+ # - name: Run gosec (security scanner)
183
+ # run: |
184
+ # go install github.com/securego/gosec/v2/cmd/gosec@latest
185
+ # gosec -fmt=json -out=gosec-report.json ./... || true
186
+ # gosec ./...
187
+
188
+ # - name: Upload gosec report
189
+ # uses: actions/upload-artifact@v4
190
+ # with:
191
+ # name: gosec-report
192
+ # path: gosec-report.json
193
+ # retention-days: 7
194
195
# Docker build job
196
docker: