Skip to content

Commit 808f40b

Browse files
committed
chore: update go-version and release command arguments
- Update the `go-version` to use a version constraint of `^1` - Change the `args` for the release command to include the `--clean` flag Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent a3c11d4 commit 808f40b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: 1.17
22+
go-version: "^1"
2323
- name: Run GoReleaser
2424
uses: goreleaser/goreleaser-action@v5
2525
with:
2626
# either 'goreleaser' (default) or 'goreleaser-pro'
2727
distribution: goreleaser
2828
version: latest
29-
args: release --rm-dist
29+
args: release --clean
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)