From 2b1830c5cdb7c0770b3ced869b58f29cd4e35b39 Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Sat, 11 Feb 2023 11:35:06 +0100 Subject: [PATCH] chore(ci): add gorleaser test --- .github/workflows/ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f90b4ea..f4a8b4d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,4 +87,23 @@ jobs: run: | docker build -t git-chglog:ci-build . docker run -v ${GITHUB_WORKSPACE}:/workdir -w /workdir git-chglog:ci-build > ${GITHUB_WORKSPACE}/ci-build.md - head ${GITHUB_WORKSPACE}/ci-build.md \ No newline at end of file + head ${GITHUB_WORKSPACE}/ci-build.md + + goreleaser-test: + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: ${{ env.GO_VERSION }} + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v4 + with: + version: latest + args: release --clean --skip-publish --snapshot