diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 236d77a6..28eb2a51 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,6 +22,19 @@ env: CODE_COVERAGE_ARTIFACT_NAME: "code-coverage" jobs: + config: + if: ${{ github.event_name != 'schedule' }} + name: Check GoReleaser config + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Check GoReleaser + uses: goreleaser/goreleaser-action@v7 + with: + args: check + prepare: name: Prepare GO cache runs-on: ubuntu-latest @@ -280,19 +293,6 @@ jobs: run: make lint-tf continue-on-error: true - config: - if: ${{ github.event_name != 'schedule' }} - name: Check GoReleaser config - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Check GoReleaser - uses: goreleaser/goreleaser-action@v7 - with: - args: check - code_coverage: name: "Code coverage report" if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch