mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-10 13:46:46 +02:00
ci: fix golangci-lint flag for v2 compatibility
Change --out-format to --format for golangci-lint v2
This commit is contained in:
parent
ea7376f522
commit
98454e73c4
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
- name: golangci-lint
|
||||
if: steps.changed-files.outputs.files == 'true'
|
||||
run: nix develop --command -- golangci-lint run --new-from-rev=${{github.event.pull_request.base.sha}} --out-format=colored-line-number
|
||||
run: nix develop --command -- golangci-lint run --new-from-rev=${{github.event.pull_request.base.sha}} --format=colored-line-number
|
||||
|
||||
prettier-lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user