Skip to content

Commit

Permalink
test: use go 1.21 & golangci-lint 1.54.1 in CI
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 92f5e63 commit f3d049c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 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.16.x, 1.17.x, 1.18.x, 1.19.x, tip]
go-version: [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://raw.githubusercontent.com/maxatome/install-go/v3.4/install-go.pl |
curl -sL https://raw.githubusercontent.com/maxatome/install-go/v3.5/install-go.pl |
perl - ${{ matrix.go-version }} $HOME/go
- name: Checkout code
Expand All @@ -42,8 +42,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.52.2
echo $PATH
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 @@ -12,7 +12,7 @@ go-testdeep

**Extremely flexible golang deep comparison, extends the go testing package.**

Currently supports go 1.16 → 1.20.
Currently supports go 1.16 → 1.21.

- [Latest news](#latest-news)
- [Synopsis](#synopsis)
Expand Down

0 comments on commit f3d049c

Please sign in to comment.