From c82ed714b3a3cc925801e3b75fe6aa32cad3e471 Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Fri, 23 May 2025 15:37:27 +0200 Subject: [PATCH 1/2] feat(ci): add check for goreleaser configuration --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 66c094cd5..239a463dc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,3 +25,15 @@ jobs: - name: Test run: make test + + config: + name: Check GoReleaser config + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Check GoReleaser + uses: goreleaser/goreleaser-action@v6 + with: + args: check \ No newline at end of file From 6f0d72fc09c7215f835f98a3fc43d55b1c5e96e6 Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Fri, 23 May 2025 15:41:49 +0200 Subject: [PATCH 2/2] chore(goreleaser): update deprecated config options --- .goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6e766acc7..01e963403 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -45,10 +45,10 @@ builds: ' archives: - - format: tar.gz + - formats: [ 'tar.gz' ] format_overrides: - goos: windows - format: zip + formats: [ 'zip' ] release: # If set to auto, the GitHub release will be marked as "Pre-release" @@ -66,7 +66,7 @@ changelog: nfpms: - id: linux-packages # IDs of the builds for which to create packages for - builds: + ids: - linux-builds package_name: stackit vendor: STACKIT @@ -114,7 +114,7 @@ brews: snapcrafts: # IDs of the builds for which to create packages for - - builds: + - ids: - linux-builds # The name of the snap name: stackit