From fb92fd370980c2344c3893c0ecab7ec7966a0d40 Mon Sep 17 00:00:00 2001 From: thorsten Date: Wed, 10 Jun 2026 22:43:58 +0200 Subject: [PATCH] ci: move workflow actions to Node 24 Bump actions/checkout and actions/setup-dotnet to v5 (native Node 24) and set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true so the remaining Node 20 JavaScript actions (action-gh-release, coveralls, upload-artifact) also run on Node 24, clearing the Node 20 deprecation warning. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/deploy-nuget.yml | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e877eed..d7e6a31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,15 +22,17 @@ jobs: FORCE_COLOR: "true" DOTNET_LOGGING__CONSOLE__COLORBEHAVIOR: Enabled FA_LICENSE_MESSAGE_SUPPRESS: 1 + # Run remaining Node 20 JavaScript actions (coveralls, upload-artifact) on Node 24. + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 10.x diff --git a/.github/workflows/deploy-nuget.yml b/.github/workflows/deploy-nuget.yml index 0d1f97a..63504b7 100644 --- a/.github/workflows/deploy-nuget.yml +++ b/.github/workflows/deploy-nuget.yml @@ -17,16 +17,18 @@ jobs: env: Solution_Name: "OpenTelemetryExtension.slnx" Nuget_Project_Path: "src/OpenTelemetryExtension.Configuration/OpenTelemetryExtension.Configuration.csproj" - Test_Project_Path: "src/OpenTelemetryExtension.Configuration.Tests/OpenTelemetryExtension.Configuration.Tests.csproj" + Test_Project_Path: "src/OpenTelemetryExtension.Configuration.Tests/OpenTelemetryExtension.Configuration.Tests.csproj" + # Run remaining Node 20 JavaScript actions (e.g. action-gh-release) on Node 24. + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Install .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 10.x