From eab1d2c97d4b51f59bb86217228c14f4f01f249c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bry=C5=82ka?= Date: Sat, 3 Aug 2024 22:02:40 +0200 Subject: [PATCH] Upgrade github actions commands to one using node20 instead of deprecated node16 --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/codeql-analysis.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91224bb..ed6590c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,12 +33,12 @@ jobs: runs-on: ubuntu-latest steps: - name: ๐Ÿค˜ checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Get all history to allow automatic versioning using MinVer - name: ๐Ÿ”Ž setup .NET # Install the .NET SDK indicated in the global.json file - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - name: ๐Ÿ—Ž update release notes if: github.event_name == 'release' @@ -74,7 +74,7 @@ jobs: run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }} - name: โฌ†๏ธ upload packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nuget if-no-files-found: error @@ -86,10 +86,10 @@ jobs: runs-on: ubuntu-latest steps: - name: ๐Ÿค˜ checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: ๐Ÿ”Ž setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - name: ๐Ÿงช run tests and move results run: | @@ -103,7 +103,7 @@ jobs: } - name: โฌ†๏ธ upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() # run this step even if previous step failed with: name: TestResults @@ -135,7 +135,7 @@ jobs: path: ${{ env.NuGetDirectory }} - name: ๐Ÿ”Ž setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - name: ๐Ÿ“ฆ publish NuGet package env: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 85c28ec..2aafcd7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -31,7 +31,7 @@ jobs: languages: ${{ matrix.language }} - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - run: dotnet build --configuration Release