diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c48426e..76c6d27 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - if: github.event_name != 'pull_request' || github.event.action != 'closed' - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: go-version: stable - if: github.event_name != 'pull_request' || github.event.action != 'closed' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 218291c..a058c13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: go-version: stable - name: Get current tag