From 57845dc3cfa59ab67ebb64ff8695802626c78263 Mon Sep 17 00:00:00 2001 From: Ron Gummich Date: Thu, 22 May 2025 10:37:32 +0200 Subject: [PATCH] ci: fail on issues found in static-checks --- .github/workflows/release.yaml | 2 ++ .github/workflows/reusable-go-ci.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d510d64b..49320dee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,6 +45,7 @@ jobs: with: install-only: true - name: Run Semantic Release + id: semantic_release uses: cycjimmy/semantic-release-action@v4 with: extra_plugins: | @@ -54,6 +55,7 @@ jobs: env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} - name: Run GoReleaser + if: steps.semantic_release.outputs.new_release_published == 'true' uses: goreleaser/goreleaser-action@v6 with: args: release --release-notes /tmp/release-notes.md --clean diff --git a/.github/workflows/reusable-go-ci.yaml b/.github/workflows/reusable-go-ci.yaml index 7c2dca9c..dc0bf93b 100644 --- a/.github/workflows/reusable-go-ci.yaml +++ b/.github/workflows/reusable-go-ci.yaml @@ -114,7 +114,7 @@ jobs: with: version: v2.1 working-directory: ${{ inputs.module }} - args: --timeout 5m --issues-exit-code=0 --config ../.golangci.yml + args: --timeout 5m --config ../.golangci.yml tests: name: "Tests & Coverage for ${{ inputs.module }}"