Skip to content

Commit

Permalink
Update reuse.yml to use git shas
Browse files Browse the repository at this point in the history
  • Loading branch information
maditya authored Sep 5, 2023
1 parent 789dfd7 commit 9610b4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ jobs:
steps:
- name: Checkout release
if: ${{ inputs.tag == 'release'}}
uses: actions/checkout@v4.0.0 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0

- name: Checkout image
if: ${{ inputs.tag == 'image'}}
uses: actions/checkout@v4.0.0 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Unshallow
if: ${{ inputs.tag == 'image'}}
run: git fetch --prune --unshallow --tags

- name: Set up Go
uses: actions/setup-go@v4 # v2.1.5
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: ~1.20.6

Expand Down

0 comments on commit 9610b4e

Please sign in to comment.