From c530cef41693dc373b7be73fcd8e4ae4802ee4dc Mon Sep 17 00:00:00 2001 From: William Allen Date: Wed, 27 Nov 2024 20:22:40 -0600 Subject: [PATCH] Update actions and fix release (#31) * Update actions * fixing goreleaser config --- .github/workflows/release.yml | 10 +++++----- .goreleaser.yml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8f6cad..9440649 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,22 +10,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.19.5" - name: Test run: go test ./... - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Build Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: dist diff --git a/.goreleaser.yml b/.goreleaser.yml index d99ca62..bf123e0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy