File tree Expand file tree Collapse file tree 6 files changed +46
-30
lines changed
Expand file tree Collapse file tree 6 files changed +46
-30
lines changed Original file line number Diff line number Diff line change 66go_image : &go_image
77 resource_class : small
88 docker :
9- - image : cimg/go:1.23
9+ - image : cimg/go:1.25
1010
1111jobs :
1212 security-scans :
Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ jobs:
1414 - name : Set up Go
1515 uses : actions/setup-go@v3
1616 with :
17- go-version : 1.23.2
17+ go-version : ' 1.25 '
1818
1919 - name : Lint
20- uses : golangci/golangci-lint-action@v3
20+ uses : golangci/golangci-lint-action@v9
21+ with :
22+ version : v2.9.0
2123
2224 - name : Build
2325 run : go build -v -o parlay
Original file line number Diff line number Diff line change 2121 name : Set up Go
2222 uses : actions/setup-go@v4
2323 with :
24- go-version : 1.23
24+ go-version : ' 1.25 '
2525 check-latest : true
2626 - run : go version
2727 - name : Install Syft
Original file line number Diff line number Diff line change 2424 - name : Set up Go
2525 uses : actions/setup-go@v3
2626 with :
27- go-version : 1.23
27+ go-version : ' 1.25 '
2828
2929 - uses : snyk/actions/setup@master
3030
Original file line number Diff line number Diff line change 1+ version : " 2"
12run :
23 issues-exit-code : 1
3- color : always
4- max-same-issues : 0
5- max-issues-per-linter : 0
64 tests : true
7- timeout : 5m
8-
95linters :
106 enable :
11- - errcheck
12- - goimports
13- - gosimple
14- - govet
15- - ineffassign
167 - misspell
17- - staticcheck
18- - typecheck
19- - unused
20-
21- linters-settings :
22- errcheck :
23- check-blank : true
24- check-type-assertions : true
25- govet :
26- check-shadowing : true
27- goimports :
28- local-prefixes : github.com/snyk/parlay
29- misspell :
30- locale : US
8+ settings :
9+ errcheck :
10+ check-type-assertions : true
11+ check-blank : true
12+ govet :
13+ enable :
14+ - shadow
15+ misspell :
16+ locale : US
17+ exclusions :
18+ generated : lax
19+ presets :
20+ - comments
21+ - common-false-positives
22+ - legacy
23+ - std-error-handling
24+ rules :
25+ - linters :
26+ - staticcheck
27+ text : " ST1005:"
28+ paths :
29+ - third_party$
30+ - builtin$
31+ - examples$
32+ formatters :
33+ enable :
34+ - goimports
35+ settings :
36+ goimports :
37+ local-prefixes :
38+ - github.com/snyk/parlay
39+ exclusions :
40+ generated : lax
41+ paths :
42+ - third_party$
43+ - builtin$
44+ - examples$
Original file line number Diff line number Diff line change 11module github.com/snyk/parlay
22
3- go 1.23
3+ go 1.25.7
44
55require (
66 github.com/CycloneDX/cyclonedx-go v0.9.2
You can’t perform that action at this time.
0 commit comments