mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix order of execution
This commit is contained in:
parent
b962e1f995
commit
6292da11c6
1 changed files with 7 additions and 7 deletions
14
.github/workflows/go.yml
vendored
14
.github/workflows/go.yml
vendored
|
@ -34,6 +34,13 @@ jobs:
|
|||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
with:
|
||||
only-new-issues: true
|
||||
version: v1.26
|
||||
args: -c ./.golangci.yml
|
||||
|
||||
- name: Get dependencies
|
||||
run: go mod download
|
||||
|
||||
|
@ -49,13 +56,6 @@ jobs:
|
|||
- name: Run gofmt
|
||||
run: bash -c "test -z $(gofmt -s -l .)"
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
with:
|
||||
only-new-issues: true
|
||||
version: v1.26
|
||||
args: -c ./.golangci.yml
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Reference in a new issue