From be1282aa5fb599bdcfdcae6f07253cd31a834a55 Mon Sep 17 00:00:00 2001 From: tschumpr Date: Wed, 29 Nov 2023 17:13:40 +0100 Subject: [PATCH] Upgrade actions --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 4 ++-- .github/workflows/pre-release.yml | 16 ++++++++-------- .github/workflows/release.yml | 18 +++++++++--------- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4703f8ab..2317c8a8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: name: Build and run tests steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x @@ -27,10 +27,10 @@ jobs: - name: Run dotnet tests run: dotnet test BDMS.sln -c Release --no-build --verbosity normal --filter TestCategory!=LongRunning - - name: Setup Node.js 16 - uses: actions/setup-node@v3 + - name: Setup Node.js 18 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - working-directory: ./src/client run: npm ci @@ -47,10 +47,10 @@ jobs: containers: [1, 2, 3, 4, 5] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fa75999f4..67dfb3e1b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index b4415dcb7..39330288f 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -11,6 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Dependency Review' - uses: actions/dependency-review-action@v2 + uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index aac16d316..09cba7a78 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set environment variables run: | @@ -28,7 +28,7 @@ jobs: - name: Collect Docker image metadata id: meta-api-legacy - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-api-legacy labels: | @@ -43,7 +43,7 @@ jobs: - name: Collect Docker image metadata id: meta-api - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-api labels: | @@ -58,7 +58,7 @@ jobs: - name: Collect Docker image metadata id: meta-client - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-client labels: | @@ -72,14 +72,14 @@ jobs: type=semver,pattern=v{{version}},value=${{ env.VERSION }} - name: Log in to the GitHub container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image (api-legacy) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/api-legacy push: true @@ -92,7 +92,7 @@ jobs: cache-to: type=inline - name: Build and push Docker image (api) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/api push: true @@ -105,7 +105,7 @@ jobs: cache-to: type=inline - name: Build and push Docker image (client) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/client target: deploy diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3c18f2ae..956db1c6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set environment variables run: | @@ -32,7 +32,7 @@ jobs: - name: Collect Docker image metadata id: meta-api-legacy - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-api-legacy labels: | @@ -44,7 +44,7 @@ jobs: - name: Collect Docker image metadata id: meta-api - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-api labels: | @@ -56,7 +56,7 @@ jobs: - name: Collect Docker image metadata id: meta-client - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.BASE_IMAGE_NAME }}-client labels: | @@ -67,14 +67,14 @@ jobs: type=semver,pattern=v{{version}} - name: Log in to the GitHub container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image (api-legacy) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/api-legacy push: true @@ -87,7 +87,7 @@ jobs: cache-to: type=inline - name: Build and push Docker image (api) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/api push: true @@ -100,7 +100,7 @@ jobs: cache-to: type=inline - name: Build and push Docker image (client) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./src/client target: deploy @@ -119,7 +119,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set environment variables run: |