From afbc34e1722241ad3635d1f921c23298564789bf Mon Sep 17 00:00:00 2001 From: Msarawan Date: Thu, 21 Nov 2024 12:16:19 +0530 Subject: [PATCH] [#32] Update Deprecation warnings in the CI Updated all the deprecation warnings in the CI with latest versions. --- .github/actions/cache-restore/action.yml | 2 +- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/release.yml | 4 ++-- .github/workflows/update.yml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/actions/cache-restore/action.yml b/.github/actions/cache-restore/action.yml index bf1a5ff..9d447cb 100644 --- a/.github/actions/cache-restore/action.yml +++ b/.github/actions/cache-restore/action.yml @@ -17,7 +17,7 @@ runs: echo "version=$(node -v)" >>$GITHUB_OUTPUT - name: Get node_modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97c6332..e6f9c29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,26 +41,26 @@ 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 }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 openapi: name: Check that the openapi file is in sync with the generated files runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x @@ -79,10 +79,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x @@ -96,7 +96,7 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -115,7 +115,7 @@ jobs: echo ${{ steps.vars.outputs.date }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Build the image id: build-image diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6961579..1e483ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create release tag if: ${{ github.event_name == 'workflow_dispatch' }} @@ -39,7 +39,7 @@ jobs: echo ${{ steps.vars.outputs.image_tag }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Build the image id: build-image diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 6081d01..a28e0e6 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up the repo run: |