From d343f7739f57f0b2e6a4d210eec778e9c6348fa3 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Thu, 15 Feb 2024 15:15:20 +0000 Subject: [PATCH] Update workflows to use actions on node 20 --- .github/example-CI-workflow.yml | 4 ++-- .github/example-package-and-publish-workflow.yml | 6 +++--- .github/workflows/academiesContracts-CI-workflow.yml | 4 ++-- .../academiesContracts-build-and-push-package.yml | 6 +++--- .github/workflows/codeql.yml | 8 ++++---- .../correlationIdMiddleware-build-and-push-package.yml | 6 +++--- .github/workflows/entensionMethods-CI-checks.yml | 4 ++-- .../workflows/extensionMethods-build-and-push-package.yml | 6 +++--- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/example-CI-workflow.yml b/.github/example-CI-workflow.yml index 91c3ac5..267ba21 100644 --- a/.github/example-CI-workflow.yml +++ b/.github/example-CI-workflow.yml @@ -19,9 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/example-package-and-publish-workflow.yml b/.github/example-package-and-publish-workflow.yml index 4622310..f4cce71 100644 --- a/.github/example-package-and-publish-workflow.yml +++ b/.github/example-package-and-publish-workflow.yml @@ -28,7 +28,7 @@ jobs: release: ${{ steps.var.outputs.release }} checked-out-sha: ${{ steps.var.outputs.checked-out-sha }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -49,9 +49,9 @@ jobs: timeout-minutes: 5 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/workflows/academiesContracts-CI-workflow.yml b/.github/workflows/academiesContracts-CI-workflow.yml index cbb7353..fd77340 100644 --- a/.github/workflows/academiesContracts-CI-workflow.yml +++ b/.github/workflows/academiesContracts-CI-workflow.yml @@ -19,9 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/workflows/academiesContracts-build-and-push-package.yml b/.github/workflows/academiesContracts-build-and-push-package.yml index 4d98ac8..493a6fd 100644 --- a/.github/workflows/academiesContracts-build-and-push-package.yml +++ b/.github/workflows/academiesContracts-build-and-push-package.yml @@ -28,7 +28,7 @@ jobs: release: ${{ steps.var.outputs.release }} checked-out-sha: ${{ steps.var.outputs.checked-out-sha }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -49,9 +49,9 @@ jobs: timeout-minutes: 5 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4c0825d..e359001 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -40,11 +40,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -58,7 +58,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@v3 # ℹī¸ 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 @@ -71,6 +71,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/correlationIdMiddleware-build-and-push-package.yml b/.github/workflows/correlationIdMiddleware-build-and-push-package.yml index 6acd861..8c87b64 100644 --- a/.github/workflows/correlationIdMiddleware-build-and-push-package.yml +++ b/.github/workflows/correlationIdMiddleware-build-and-push-package.yml @@ -28,7 +28,7 @@ jobs: release: ${{ steps.var.outputs.release }} checked-out-sha: ${{ steps.var.outputs.checked-out-sha }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -49,9 +49,9 @@ jobs: timeout-minutes: 5 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/workflows/entensionMethods-CI-checks.yml b/.github/workflows/entensionMethods-CI-checks.yml index 0623275..f1e244d 100644 --- a/.github/workflows/entensionMethods-CI-checks.yml +++ b/.github/workflows/entensionMethods-CI-checks.yml @@ -19,9 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test diff --git a/.github/workflows/extensionMethods-build-and-push-package.yml b/.github/workflows/extensionMethods-build-and-push-package.yml index bc255e0..70b63bd 100644 --- a/.github/workflows/extensionMethods-build-and-push-package.yml +++ b/.github/workflows/extensionMethods-build-and-push-package.yml @@ -28,7 +28,7 @@ jobs: release: ${{ steps.var.outputs.release }} checked-out-sha: ${{ steps.var.outputs.checked-out-sha }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -49,9 +49,9 @@ jobs: timeout-minutes: 5 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 - name: Build run: dotnet build -c Release - name: Test