mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
Move test for golang-ci
This commit is contained in:
parent
3a0cfafeb5
commit
a5989707ac
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -227,6 +227,11 @@ jobs:
|
|||||||
gox -parallel 2 -verbose -osarch "$GOX_ARCHS" -output "build-output/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/restic
|
gox -parallel 2 -verbose -osarch "$GOX_ARCHS" -output "build-output/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/restic
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
# only run golangci-lint for pull requests, otherwise ALL hints get
|
||||||
|
# reported. We need to slowly address all issues until we can enable
|
||||||
|
# linting the master branch :)
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -241,8 +246,3 @@ jobs:
|
|||||||
# 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 --enable-all --disable wsl
|
args: --verbose --timeout 5m --enable-all --disable wsl
|
||||||
|
|
||||||
# only run golangci-lint for pull requests, otherwise ALL hints get
|
|
||||||
# reported. We need to slowly address all issues until we can enable
|
|
||||||
# linting the master branch :)
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user