Fix order of execution

This commit is contained in:
Patrick Pacher 2021-01-19 10:05:10 +01:00
parent b962e1f995
commit 6292da11c6
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D

View file

@ -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