Skip to content

Commit c5dad8f

Browse files
authored
Merge pull request #285 from thaJeztah/update_go_versions
circleci: add go1.21, go1.22, go1.23, and update golangci-lint to v1.60.3
2 parents 8569bbc + 160ab0e commit c5dad8f

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

.circleci/config.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,33 @@ workflows:
88
jobs:
99
- lint
1010
- go/test:
11-
name: test-golang-1.18
11+
name: test-golang-1.20
1212
executor:
1313
name: go/golang
14-
tag: 1.18-alpine
14+
tag: 1.20-alpine
1515
post-steps: &xgenerics
1616
- run:
1717
name: "test x/generics"
1818
working_directory: ./x/generics
1919
command: gotestsum -ftestname
2020
- go/test:
21-
name: test-golang-1.19
21+
name: test-golang-1.21
2222
executor:
2323
name: go/golang
24-
tag: 1.19-alpine
24+
tag: 1.21-alpine
2525
post-steps: *xgenerics
2626
- go/test:
27-
name: test-golang-1.20
27+
name: test-golang-1.22
2828
executor:
2929
name: go/golang
30-
tag: 1.20-alpine
30+
tag: 1.22-alpine
31+
post-steps: *xgenerics
32+
- go/test:
33+
name: test-golang-1.23
34+
executor:
35+
name: go/golang
36+
tag: 1.23-alpine
37+
post-steps: *xgenerics
3138
- go/test:
3239
name: test-windows
3340
executor: windows
@@ -39,6 +46,8 @@ workflows:
3946
choco upgrade golang
4047
echo 'export PATH="$PATH:/c/Program Files/Go/bin"' > $BASH_ENV
4148
- run: go version
49+
- run: go install gotest.tools/gotestsum@latest
50+
post-steps: *xgenerics
4251

4352
executors:
4453
windows:
@@ -52,12 +61,12 @@ jobs:
5261
lint:
5362
executor:
5463
name: go/golang
55-
tag: 1.20-alpine
64+
tag: 1.23-alpine
5665
steps:
5766
- checkout
5867
- go/install-golangci-lint:
59-
prefix: v1.51.1
60-
version: 1.51.1
68+
prefix: v1.60.3
69+
version: 1.60.3
6170
- go/install: {package: git}
6271
- run:
6372
name: Lint

0 commit comments

Comments
 (0)