mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
CI: Sync tests with restic
This commit is contained in:
parent
c064e4c1ed
commit
20c4cdedfc
1 changed files with 4 additions and 3 deletions
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
env:
|
||||
latest_go: "1.19.x"
|
||||
latest_go: "1.20.x"
|
||||
GO111MODULE: on
|
||||
|
||||
jobs:
|
||||
|
@ -20,6 +20,7 @@ jobs:
|
|||
- 1.17.x
|
||||
- 1.18.x
|
||||
- 1.19.x
|
||||
- 1.20.x
|
||||
runs-on: ubuntu-latest
|
||||
name: Go ${{ matrix.go }}
|
||||
|
||||
|
@ -65,10 +66,10 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
# 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`.
|
||||
only-new-issues: true
|
||||
args: --verbose --timeout 5m
|
||||
args: --verbose --timeout 10m
|
||||
|
||||
# only run golangci-lint for pull requests, otherwise ALL hints get
|
||||
# reported. We need to slowly address all issues until we can enable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue