CI: upgrade golangci-lint to v1.56

- upgrade golangci-lint running in GitHub Actions
- upgrade golangci-lint to v1.56.x
This commit is contained in:
Olivier Mengué 2024-03-12 00:06:35 +01:00
parent dd1b4c2e81
commit aead453c10
1 changed files with 7 additions and 3 deletions

View File

@ -18,11 +18,15 @@ jobs:
platform: [ubuntu-latest] platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v2 - uses: actions/setup-go@v5
with:
go-version: '1.22'
# https://github.com/golangci/golangci-lint-action
- uses: golangci/golangci-lint-action@v4
with: with:
# must be specified without patch version # must be specified without patch version
version: v1.46 version: v1.56
cross: cross:
name: Cross name: Cross
timeout-minutes: 10 timeout-minutes: 10