diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9414ab8..0d0ffc6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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