File tree Expand file tree Collapse file tree 5 files changed +6
-3
lines changed
Expand file tree Collapse file tree 5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4646 - name : Run golangci-lint
4747 uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
4848 with :
49- version : v2.1
49+ version : v2.2
5050 go-fmt :
5151 permissions :
5252 contents : read # to fetch code (actions/checkout)
Original file line number Diff line number Diff line change 4545 - name : Run golangci-lint
4646 uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
4747 with :
48- version : v2.1
48+ version : v2.2
4949 go-fmt :
5050 permissions :
5151 contents : read # to fetch code (actions/checkout)
Original file line number Diff line number Diff line change @@ -17,10 +17,12 @@ linters:
1717 - maintidx #
1818 - mnd # not every number is magic
1919 - nestif #
20+ - noinlineerr #
2021 - nonamedreturns # they have their uses
2122 - tagliatelle # we're parsing data from external sources
2223 - varnamelen # maybe later
2324 - wsl # disagree with, for now
25+ - wsl_v5 # disagree with, for now
2426 settings :
2527 depguard :
2628 rules :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ test-with-coverage:
2121lint : lint-with-golangci-lint lint-with-go-fmt
2222
2323lint-with-golangci-lint :
24- go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run ./...
24+ go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.2.1 run ./...
2525
2626lint-with-go-fmt :
2727 gofmt -s -d * /** .go
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ type PackageDetailsWithVulnerabilities struct {
1919
2020type Report struct {
2121 lockfile.Lockfile
22+
2223 // Packages is a map of packages and any vulnerabilities that they're affected by
2324 Packages []PackageDetailsWithVulnerabilities `json:"packages"`
2425}
You can’t perform that action at this time.
0 commit comments