From 23b5208c723b572412ef25d748833474f037674a Mon Sep 17 00:00:00 2001 From: Xavier Date: Sat, 14 Mar 2026 14:02:01 -0700 Subject: [PATCH] Update GitHub Actions workflows to use latest action versions for improved stability and performance --- .github/workflows/build.yml | 6 +++--- .github/workflows/codeql.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f737ca..a79714f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: steps: - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # depth is needed for nbgv - uses: dotnet/nbgv@master @@ -39,7 +39,7 @@ jobs: run: | dotnet pack --no-build --verbosity normal -c Release -o artifacts/ - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 if: ${{ success() && !github.base_ref }} with: name: artifact diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8e1c4fa..9ed75ca 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,13 +46,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # avoid shallow clone so nbgv can do its work. # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + 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. @@ -66,7 +66,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + 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 @@ -79,6 +79,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}"