ci: pin GitHub Actions to full commit SHAs (#1116)
Pin unpinned action references to immutable commit SHAs. Version tags retained as inline comments. See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions Co-authored-by: KiloClaw Security <security@kiloclaw.ai>
This commit is contained in:
parent
caf87e6e1b
commit
8b258c7bb2
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -27,13 +27,13 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
check-latest: true
|
||||
cache: false
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
|
||||
- name: Test
|
||||
|
|
|
|||
Loading…
Reference in a new issue