From 93868b9e6c96b4dfa1ed49d9376d1b0254cf8544 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Fri, 13 Oct 2023 09:52:13 -0400 Subject: [PATCH] ci: check if goreleaser config is valid (#2652) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/celestiaorg/celestia-app/issues/2452 ## Testing Tested on my fork ``` /opt/hostedtoolcache/goreleaser-action/1.21.2/x64/goreleaser check • checking path= • 1 configuration file(s) validated • thanks for using goreleaser! ``` Ref: https://github.com/rootulp/celestia-app/actions/runs/6473546638/job/17576484916?pr=39#step:3:16 --- .github/workflows/ci-release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 6104abfcc5..0d787a6bae 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -37,6 +37,16 @@ jobs: test: uses: ./.github/workflows/test.yml + goreleaser-check: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - uses: goreleaser/goreleaser-action@v5 + with: + version: latest + args: check + # If this was a workflow dispatch event, we need to generate and push a tag # for goreleaser to grab version_bump: