From 9ebe8104794d617e9d20f769ed839ceddc6ab34e Mon Sep 17 00:00:00 2001 From: Karl Isenberg Date: Tue, 2 Jul 2024 16:43:26 -0700 Subject: [PATCH] Update github actions - Update checkout, setup-go, and goreleaser-action - Use --clean instead of --rm-dist (obsolete) --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49035e9b..66ed098f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,20 +14,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist -f release/goreleaser.yml + args: release --clean -f release/goreleaser.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -