From a3eea75a3d53658cda6996aef1f36f0e958078fe Mon Sep 17 00:00:00 2001 From: Wilfried Roset Date: Thu, 9 Jan 2025 12:21:25 +0100 Subject: [PATCH] Update actions Signed-off-by: Wilfried Roset --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1725ed3..a3bf845 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ name: release on: push: tags: - - 'v*' + - "v*" permissions: contents: write jobs: @@ -21,15 +21,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.5.4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: 'go.mod' + go-version-file: "go.mod" + cache: true - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 id: import_gpg with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}