Skip to content

Commit

Permalink
chore: switch CI to go 1.23 & golangci-lint 1.60.1
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Soulé <[email protected]>
  • Loading branch information
maxatome committed Aug 14, 2024
1 parent 0a14bd7 commit 7b7821f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
test:
strategy:
matrix:
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, 1.21.x, tip]
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, 1.21.x, 1.22.x, tip]
full-tests: [false]
include:
- go-version: 1.22.x
- go-version: 1.23.x
full-tests: true

runs-on: ubuntu-latest
Expand All @@ -32,7 +32,7 @@ jobs:
if: matrix.full-tests
run: |
curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh |
sh -s -- -b $HOME/go/bin v1.57.2
sh -s -- -b $HOME/go/bin v1.60.1
$HOME/go/bin/golangci-lint run --max-issues-per-linter 0 \
--max-same-issues 0 \
--exclude="unused-parameter: parameter '[^']+' seems to be unused, consider removing or renaming it as _" \
Expand All @@ -43,7 +43,7 @@ jobs:
-E gocritic \
-E godot \
-E goimports \
-E maligned \
-E govet \
-E misspell \
-E prealloc \
-E revive \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Easy mocking of http responses from external resources.

## Install

Currently supports Go 1.13 to 1.22 and is regularly tested against tip.
Currently supports Go 1.13 to 1.23 and is regularly tested against tip.

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

Expand Down

0 comments on commit 7b7821f

Please sign in to comment.