diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b560c82..4bbe01b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: recursive # lib/forge-std - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 20 cache: "npm" @@ -62,7 +62,7 @@ jobs: run: forge test --gas-report > gas-report.txt || true - name: Upload gas report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: forge-gas-report path: gas-report.txt @@ -79,10 +79,10 @@ jobs: node-version: ${{ github.event_name == 'push' && fromJSON('[20, 22, 24]') || fromJSON('[20]') }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} cache: "npm" @@ -102,14 +102,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 # the point is to scan the past, not just the tip # The signing key for this project lives in ~/.config/creditcoin/ and has never been in the # tree. Two independent scanners assert that, over the full history. - name: gitleaks (full history, .gitleaks.toml) - uses: gitleaks/gitleaks-action@v2 + uses: gitleaks/gitleaks-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -123,10 +123,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 20 cache: "npm" @@ -154,10 +154,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 20 cache: "npm" @@ -192,10 +192,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 20 cache: "npm" @@ -217,7 +217,7 @@ jobs: - name: Upload E2E artifacts on failure if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: playwright-report path: | @@ -232,10 +232,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 20 cache: "npm" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 59e74e8..b8a5862 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,18 +30,18 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} queries: security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1c8032..70b188d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,7 +59,7 @@ jobs: outputs: tagged: ${{ steps.check.outputs.tagged }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: main fetch-depth: 0 # tags, and enough history to describe them @@ -88,14 +88,14 @@ jobs: name: production url: ${{ steps.deploy.outputs.url }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: # workflow_run checks out the default branch tip, which is what we # want: it includes the version-bump commit the release just pushed. ref: main fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: "24" diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index d0a5899..7bae6f9 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -23,11 +23,11 @@ jobs: name: Scan full history runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: gitleaks/gitleaks-action@v2 + - uses: gitleaks/gitleaks-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITLEAKS_CONFIG: .gitleaks.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eac9271..1311547 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: permissions: contents: write # create the tag, push the version bump, cut the release steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: # The bump commit lands on main, so check out the branch rather than # the validated SHA — pushing from a detached commit that main has @@ -79,7 +79,7 @@ jobs: echo "stale=false" >> "$GITHUB_OUTPUT" fi - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: "24"