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]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
# https://github.com/golangci/golangci-lint-action
- uses: golangci/golangci-lint-action@v4
with:
# must be specified without patch version
version: v1.46
version: v1.56
cross:
name: Cross
timeout-minutes: 10