From a03a1667330d39e3109f340360c91c429ae8ef1e Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 20 Jun 2026 19:01:18 +0000 Subject: [PATCH] chore: upgrade GitHub Actions to latest major versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actions/checkout: v4 (v3 in codeql) → v7 - actions/setup-node: v4 → v6 - codecov/codecov-action: v5 → v7 - github/codeql-action (init/autobuild/analyze): v2 → v4 - pnpm/action-setup: already at latest major v6 (unchanged) Major-only pin style preserved; workflow YAML validated. Input compatibility verified for the inputs in use: setup-node node-version/cache, codecov token/slug/files, codeql languages/category — all unchanged across these majors. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01UXjL3LurbiGcLiiep7Fnvr --- .github/workflows/code-coverage.yaml | 6 +++--- .github/workflows/codeql.yaml | 8 ++++---- .github/workflows/release.yaml | 4 ++-- .github/workflows/tests.yaml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index 85b2f63..2d92592 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install pnpm uses: pnpm/action-setup@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 24 cache: 'pnpm' @@ -44,7 +44,7 @@ jobs: run: pnpm test:ci - name: Code Coverage - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} slug: Hyphen/nodejs-toggle-sdk diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 9be027f..07ebc6a 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -39,11 +39,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -57,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v4 # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,6 +70,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c96c1f0..03336b8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,13 +18,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install pnpm uses: pnpm/action-setup@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 24 cache: 'pnpm' diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 66d1d72..20bbee7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,13 +24,13 @@ jobs: node-version: ['22', '24', '26'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install pnpm uses: pnpm/action-setup@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'pnpm'