From 95c227105958abaa5a7d7da0aaa8e190a5c1ffb3 Mon Sep 17 00:00:00 2001 From: Gabriela Gutierrez Date: Tue, 19 Sep 2023 14:47:51 -0300 Subject: [PATCH] Ref actions by commit SHA in test.yml 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 https://github.com/actions/setup-go/commit/93397bea11091df50f3d7e59dc26a7711a8bcfbe https://github.com/actions/checkout/releases/tag/v4.0.0 https://github.com/actions/checkout/commit/3df4ab11eba7bda6032a0b82a6bb43b11571feac Signed-off-by: Gabriela Gutierrez --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc1a396..55024e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 ./...