File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed
Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 go-version : 1.19.x
2525 - uses : actions/checkout@v2
2626 - name : golangci-lint
27- uses : golangci/golangci-lint-action@v3.1 .0
27+ uses : golangci/golangci-lint-action@v3.2 .0
2828 with :
2929 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
30- version : v1.49 .0
30+ version : v1.50 .0
3131
3232 # Optional: working directory, useful for monorepos
3333 # working-directory: somedir
4545 # skip-pkg-cache: true
4646
4747 # Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
48- # skip-build-cache: true
48+ # skip-build-cache: true
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ linters:
4848 - structcheck
4949 - varcheck
5050 - deadcode
51+ - testableexamples
52+ - dupword
5153
5254issues :
5355 exclude :
@@ -68,6 +70,7 @@ issues:
6870 path : " _test.go"
6971 - linters :
7072 - errcheck # Error checking omitted for brevity.
73+ - gosec
7174 path : " example_"
7275 - linters :
7376 - staticcheck
Original file line number Diff line number Diff line change 1- # GOLANGCI_LINT_VERSION := "v1.49 .0" # Optional configuration to pinpoint golangci-lint version.
1+ # GOLANGCI_LINT_VERSION := "v1.50 .0" # Optional configuration to pinpoint golangci-lint version.
22
33# The head of Makefile determines location of dev-go to include standard targets.
44GO ?= go
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/swaggest/openapi-go
33go 1.17
44
55require (
6- github.com/bool64/dev v0.2.20
6+ github.com/bool64/dev v0.2.22
77 github.com/stretchr/testify v1.8.0
88 github.com/swaggest/assertjson v1.7.0
99 github.com/swaggest/jsonschema-go v0.3.40
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ github.com/bool64/dev v0.2.10/go.mod h1:/csLrm+4oDSsKJRIVS0mrywAonLnYKFG8RvGT7Jh
33github.com/bool64/dev v0.2.16 /go.mod h1:/csLrm+4oDSsKJRIVS0mrywAonLnYKFG8RvGT7Jh9b8 =
44github.com/bool64/dev v0.2.17 /go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg =
55github.com/bool64/dev v0.2.19 /go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg =
6- github.com/bool64/dev v0.2.20 h1:9eIRGdcg2kQW2NGza++QbOKidNNaK+KfWuUXcZFDejE =
7- github.com/bool64/dev v0.2.20 /go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg =
6+ github.com/bool64/dev v0.2.22 h1:YJFKBRKplkt+0Emq/5Xk1Z5QRmMNzc1UOJkR3rxJksA =
7+ github.com/bool64/dev v0.2.22 /go.mod h1:iJbh1y/HkunEPhgebWRNcs8wfGq7sjvJ6W5iabL8ACg =
88github.com/bool64/shared v0.1.4 /go.mod h1:ryGjsnQFh6BnEXClfVlEJrzjwzat7CmA8PNS5E+jPp0 =
99github.com/bool64/shared v0.1.5 h1:fp3eUhBsrSjNCQPcSdQqZxxh9bBwrYiZ+zOKFkM0/2E =
1010github.com/bool64/shared v0.1.5 /go.mod h1:081yz68YC9jeFB3+Bbmno2RFWvGKv1lPKkMP6MHJlPs =
You can’t perform that action at this time.
0 commit comments