mirror of
https://github.com/safing/portbase
synced 2025-09-02 02:29:59 +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:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
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
|
- name: Get dependencies
|
||||||
run: go mod download
|
run: go mod download
|
||||||
|
|
||||||
|
@ -49,13 +56,6 @@ jobs:
|
||||||
- name: Run gofmt
|
- name: Run gofmt
|
||||||
run: bash -c "test -z $(gofmt -s -l .)"
|
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:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue