From 3bdaf615087ceee1b8ceaacd49d662c8827225cc Mon Sep 17 00:00:00 2001 From: Masanori Tani Date: Mon, 3 Jun 2024 16:59:03 +0900 Subject: [PATCH] ci: fix action's hash --- .github/workflows/ci.yml | 6 ++---- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcf70aa1..4736a6ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,8 @@ jobs: - id: tool-versions run: awk '{ print $1"="$2 }' .tool-versions >> $GITHUB_OUTPUT shell: bash - - uses: golangci/golangci-lint-action@v5 + - uses: golangci/golangci-lint-action@38e1018663fa5173f3968ea0777460d3de38f256 # v5.3.0 with: - skip-pkg-cache: true - skip-build-cache: true version: v${{ steps.tool-versions.outputs.golangci-lint }} go-mod-tidy: runs-on: ubuntu-latest @@ -54,7 +52,7 @@ jobs: - id: tool-versions run: awk '{ print $1"="$2 }' .tool-versions >> $GITHUB_OUTPUT shell: bash - - uses: goreleaser/goreleaser-action@v5 + - uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 with: version: "v${{ steps.tool-versions.outputs.goreleaser }}" install-only: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5aa76fe3..2bb812f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} repositories: "assam,homebrew-assam" - - uses: goreleaser/goreleaser-action@v5 + - uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 with: version: "v${{ steps.tool-versions.outputs.goreleaser }}" args: release --clean