From d7b8ca458833fb9febc94ca226e29bb2596d6ffd Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Sun, 13 Oct 2024 12:20:27 -0400 Subject: [PATCH] chore(gh): update release - Correct formatting. - Ping GitHub Actions to release commit hash. Signed-off-by: Ryan Johnson --- .github/workflows/release.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abe1a9481..4b1fb950b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,34 +12,30 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - - - name: Set up Go - uses: actions/setup-go@v5 + - name: Set up Go + uses: uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: go-version-file: 'go.mod' - - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + - name: golangci-lint + uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: version: v1.61 args: --issues-exit-code=1 --timeout=30m skip-pkg-cache: true skip-build-cache: true - - - name: Import GPG key + - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v6 + uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY2 }} passphrase: ${{ secrets.GPG_PASSPHRASE2 }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest args: release --clean --timeout 60m --release-header-tmpl .goreleaser.tmpl