diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03b189e..457ae5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Go - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version: '1.26' @@ -64,7 +64,7 @@ jobs: || { echo "::error::coverage ${total}% is below floor ${MIN_COVERAGE}%"; exit 1; } - name: Upload coverage to Codecov - uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: files: coverage.out fail_ci_if_error: false diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index a7a0a50..8d83419 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -30,9 +30,9 @@ jobs: # `cache: false`). Nothing here needs orion's arm64 or its warm module cache. runs-on: ubuntu-latest steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Go - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version: '1.26' - name: Install govulncheck @@ -60,7 +60,7 @@ jobs: name: Secret Scan (gitleaks) runs-on: ubuntu-latest steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # full history so leaked-then-removed secrets are caught # Run the gitleaks BINARY directly (MIT-licensed, free for orgs). The @@ -79,7 +79,7 @@ jobs: name: Trivy Security Scan runs-on: ubuntu-latest steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Trivy filesystem scan (vulns + secrets) uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0 with: @@ -102,7 +102,7 @@ jobs: container: image: semgrep/semgrep steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Enforcing: fails the build on findings. Triaged false-positives are # annotated inline with `# nosemgrep: -- `. - name: Semgrep scan