Skip to content

Commit

Permalink
ci: test against go 1.21 & use golangci-lint 1.54.1
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
  • Loading branch information
maxatome committed Aug 16, 2023
1 parent 070d3c8 commit 497153d
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,18 +11,18 @@ 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, 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, tip]
full-tests: [false]
include:
- go-version: 1.20.x
- go-version: 1.21.x
full-tests: true

runs-on: ubuntu-latest

steps:
- name: Setup go
run: |
curl -sL https://github.com/raw/maxatome/install-go/v3.4/install-go.pl |
curl -sL https://github.com/raw/maxatome/install-go/v3.5/install-go.pl |
perl - ${{ matrix.go-version }} $HOME/go
- name: Checkout code
Expand All @@ -32,7 +32,7 @@ jobs:
if: matrix.full-tests
run: |
curl -sL https://github.com/raw/golangci/golangci-lint/master/install.sh |
sh -s -- -b $HOME/go/bin v1.52.2
sh -s -- -b $HOME/go/bin v1.54.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 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.20 and is regularly tested against tip.
Currently supports Go 1.13 to 1.21 and is regularly tested against tip.

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

Expand Down

0 comments on commit 497153d

Please sign in to comment.