From 7a08d8bedf87d285e849d57c036c21ee732dace6 Mon Sep 17 00:00:00 2001 From: Samuel Attwood Date: Sat, 10 Jun 2023 02:20:36 -0400 Subject: [PATCH] Moving lint job to coverage workflow --- .github/workflows/coverage.yaml | 8 +++++--- .github/workflows/test.yaml | 5 ----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index a833572..20df8c6 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -5,7 +5,7 @@ on: - main - deps-update jobs: - test: + coverage: name: Test Coverage runs-on: ubuntu-latest steps: @@ -19,8 +19,10 @@ jobs: - name: Setup Goveralls run: go install github.com/mattn/goveralls@v0.0.12 - - name: Setup Dependencies - run: go mod download + - name: Lint + uses: golangci/golangci-lint-action@v3 + with: + skip-pkg-cache: true - name: Run Tests run: make test-cov diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3aeecea..00953e7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,10 +16,5 @@ jobs: with: go-version-file: go.mod - - name: Lint - uses: golangci/golangci-lint-action@v3 - with: - args: -v - - name: Run tests run: make test