From 27d19524c0c3c241ee74b424d570a134468edbaf Mon Sep 17 00:00:00 2001 From: Fs02 Date: Sat, 15 Aug 2026 13:06:30 +0700 Subject: [PATCH] fix: update goreleaser flag to --clean and update codecov to v7 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 419b520..7a9443e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,6 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a6b6fe..e0d6589 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,4 +20,6 @@ jobs: - name: Test run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 + with: + token: ${{ secrets.CODECOV_TOKEN }}