File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ permissions:
77 contents : read
88jobs :
99 build :
10- uses : oapi-codegen/actions/.github/workflows/ci.yml@8ebfe4c83d051866a4af122ba602239fa3220e52 # v0.7 .0
10+ uses : oapi-codegen/actions/.github/workflows/ci.yml@0b10ad68a53148bd29896be82ad92027b35507a3 # v0.8 .0
1111 with :
12- lint_versions : ' ["1.25 "]'
12+ lint_versions : ' ["1.26 "]'
Original file line number Diff line number Diff line change 99 @echo " lint run linting"
1010
1111$(GOBIN ) /golangci-lint :
12- curl -sSfL https://raw.githubusercontent.com/ golangci/golangci -lint/master/ install.sh | sh -s -- -b $(GOBIN ) v2.10.1
12+ curl -sSfL https://golangci-lint.run/ install.sh | sh -s -- -b $(GOBIN ) v2.12.2
1313
1414.PHONY : tools
1515tools : $(GOBIN ) /golangci-lint
@@ -18,7 +18,7 @@ lint: tools
1818 git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./...'
1919
2020lint-ci : tools
21- git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./... --timeout=5m'
21+ git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && $(GOBIN)/golangci-lint run ./... --output.text.path=stdout -- timeout=5m'
2222
2323test :
2424 git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && go test -cover ./...'
2727 @echo " tidy..."
2828 git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && go mod tidy'
2929
30+ tidy-ci :
31+ git ls-files go.mod ' **/*go.mod' -z | xargs -0 -I{} bash -xc ' cd $$(dirname {}) && go mod tidy -diff'
32+
3033# Empty rule to make CI logic happy
3134.PHONY : generate
3235generate : ;
Original file line number Diff line number Diff line change 11module github.com/oapi-codegen/nullable
22
3- go 1.20
3+ go 1.24.0
Original file line number Diff line number Diff line change 11module github.com/oapi-codegen/nullable/internal/test
22
3- go 1.20
3+ go 1.24.0
44
55replace github.com/oapi-codegen/nullable => ../../
66
You can’t perform that action at this time.
0 commit comments