File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed
Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - main
66 pull_request :
7+
78jobs :
89 golangci :
910 name : CI
10- runs-on : ubuntu-latest
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ go-version : [ oldstable, stable ]
15+ os : [ubuntu-latest, macos-latest, windows-latest]
16+ env :
17+ GOLANGCI_LINT_VERSION : v2.11
1118 steps :
12- - uses : actions/setup-go@v5
19+ - uses : actions/checkout@v6
20+ - uses : actions/setup-go@v6
1321 with :
14- go-version : 1.23
15- - uses : actions/checkout@v4
22+ go-version : oldstable
23+ - uses : golangci/golangci-lint-action@v9
24+ with :
25+ version : ${{ env.GOLANGCI_LINT_VERSION }}
26+ install-only : true
1627 - run : make lint
1728 - run : make test
1829 - run : make build
Original file line number Diff line number Diff line change @@ -24,5 +24,4 @@ test: build
2424 diff -a pgx_examples_results.txt ./testdata/pgx_examples/expected_results.txt
2525
2626lint :
27- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.62.2
28- ./bin/golangci-lint run
27+ golangci-lint run
You can’t perform that action at this time.
0 commit comments