From 5e49c3ff897383e5bd844ffb1ce9e7cc313724c0 Mon Sep 17 00:00:00 2001 From: moznion Date: Fri, 28 Jun 2024 10:48:55 +0900 Subject: [PATCH] Upgrade GitHub Actions actions Signed-off-by: moznion --- .github/workflows/go.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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 }}