mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-15 14:48:41 +01:00
Use official golangci-lint GH action
This commit is contained in:
parent
70047fe20e
commit
5c9fdb064d
2 changed files with 6 additions and 9 deletions
13
.github/workflows/pipeline.yml
vendored
13
.github/workflows/pipeline.yml
vendored
|
|
@ -13,15 +13,12 @@ jobs:
|
|||
name: Lint Server
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: actions-contrib/golangci-lint@v1
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v0.1.7
|
||||
with:
|
||||
golangci_lint_version: v1.25.0
|
||||
# TODO Enable github actions output format: https://github.com/actions-contrib/golangci-lint/issues/11
|
||||
# args: run --out-format github-actions
|
||||
version: v1.26
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
go:
|
||||
name: Test Server on ${{ matrix.os }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue