Skip to content

Commit

Permalink
ci: test with go1.21 & golangci-lint v1.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 c44a93f commit 29a1662
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

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://raw.githubusercontent.com/maxatome/install-go/v3.3/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 @@ -31,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.51.0
sh -s -- -b $HOME/go/bin v1.54.1
$HOME/go/bin/golangci-lint run --max-issues-per-linter 0 \
--max-same-issues 0 \
-E bidichk \
Expand Down

0 comments on commit 29a1662

Please sign in to comment.