CI: Sync tests with restic

This commit is contained in:
Michael Eischer 2023-04-30 15:18:28 +02:00
parent c064e4c1ed
commit 20c4cdedfc

View file

@ -9,7 +9,7 @@ on:
pull_request: pull_request:
env: env:
latest_go: "1.19.x" latest_go: "1.20.x"
GO111MODULE: on GO111MODULE: on
jobs: jobs:
@ -20,6 +20,7 @@ jobs:
- 1.17.x - 1.17.x
- 1.18.x - 1.18.x
- 1.19.x - 1.19.x
- 1.20.x
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Go ${{ matrix.go }} name: Go ${{ matrix.go }}
@ -65,10 +66,10 @@ jobs:
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.49 version: v1.51
# Optional: show only new issues if it's a pull request. The default value is `false`. # Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true only-new-issues: true
args: --verbose --timeout 5m args: --verbose --timeout 10m
# only run golangci-lint for pull requests, otherwise ALL hints get # only run golangci-lint for pull requests, otherwise ALL hints get
# reported. We need to slowly address all issues until we can enable # reported. We need to slowly address all issues until we can enable