diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c8585d..b14eadd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -24,7 +24,7 @@ jobs: raw.githubusercontent.com:443 - name: Checkout repo - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: fetch-depth: 0 - name: Setup Go @@ -34,7 +34,7 @@ jobs: # Linting - name: Linting - uses: golangci/golangci-lint-action@692c9c9dba385536b59da68da5aef1775a6f94ea + uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc with: version: latest args: --config=./.github/.golangci.yml ./... @@ -48,7 +48,7 @@ jobs: matrix: go: [ '1.22', '1.21' ] steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -59,7 +59,7 @@ jobs: sum.golang.org:443 - name: Checkout repo - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: fetch-depth: 0 - name: Setup Go @@ -75,7 +75,7 @@ jobs: name: Analyze runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -92,7 +92,7 @@ jobs: storage.googleapis.com:443 - name: Checkout repo - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: fetch-depth: 0 - name: Setup Go @@ -106,7 +106,7 @@ jobs: # Codecov - name: Codecov - uses: codecov/codecov-action@1290bddc8851afa46a03b9a73dd9979a415d4c4f + uses: codecov/codecov-action@dad251dcaf4fdaa10dfaa1c32aab58f9cb23a448 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b83120e..0ed2137 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -34,16 +34,16 @@ jobs: api.github.com:443 github.com:443 objects.githubusercontent.com:443 proxy.golang.org:443 storage.googleapis.com:443 sum.golang.org:443 uploads.github.com:443 - name: Checkout repository - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@4ebadbc7468649cf79b138f45e20d999351f6ed0 + uses: github/codeql-action/init@8fcfedf57053e09257688fce7a0beeb18b1b9ae3 with: languages: go - name: Autobuild - uses: github/codeql-action/autobuild@4ebadbc7468649cf79b138f45e20d999351f6ed0 + uses: github/codeql-action/autobuild@8fcfedf57053e09257688fce7a0beeb18b1b9ae3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@4ebadbc7468649cf79b138f45e20d999351f6ed0 + uses: github/codeql-action/analyze@8fcfedf57053e09257688fce7a0beeb18b1b9ae3 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index b7c346f..c00ad11 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -22,7 +22,7 @@ jobs: id-token: write steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -38,7 +38,7 @@ jobs: www.bestpractices.dev:443 - name: "Checkout code" - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: persist-credentials: false @@ -69,6 +69,6 @@ jobs: # required for Code scanning alerts - name: "Upload SARIF results to code scanning" - uses: github/codeql-action/upload-sarif@4ebadbc7468649cf79b138f45e20d999351f6ed0 + uses: github/codeql-action/upload-sarif@8fcfedf57053e09257688fce7a0beeb18b1b9ae3 with: sarif_file: results.sarif diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 354fb91..65b748e 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -17,7 +17,7 @@ jobs: name: Snyk runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@6c3b1c91e8873ae0c705b0709f957c7a6a5eaf10 + - uses: step-security/harden-runner@9ff9d14760a73102d9fa2f47131624137f50ead8 with: disable-sudo: true egress-policy: block @@ -26,7 +26,7 @@ jobs: github.com:443 proxy.golang.org:443 - - uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: Run Snyk to check for vulnerabilities uses: snyk/actions/golang@8349f9043a8b7f0f3ee8885bf28f0b388d2446e8 env: