diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0ba1ada..01f77e4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,18 +10,18 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install go toolchains run: | go install golang.org/x/tools/cmd/goimports@latest - name: Do test run: make check-ci - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5418cb2..15728af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,16 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '1.22.x' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}