Skip to content

Commit

Permalink
Ref actions by commit SHA in test.yml
Browse files Browse the repository at this point in the history
It's important to make sure the SHA's are from the original repositories and not forks.

For reference:

https://github.com/actions/setup-go/releases/tag/v4.1.0
actions/setup-go@93397be 

https://github.com/actions/checkout/releases/tag/v4.0.0
actions/checkout@3df4ab1

Signed-off-by: Gabriela Gutierrez <[email protected]>
  • Loading branch information
gabibguti authored Sep 19, 2023
1 parent 7e78d86 commit 95c2271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
- name: Test
run: go test ./...

0 comments on commit 95c2271

Please sign in to comment.