From d345908049d0f248a67b3e17026d6cc40120e489 Mon Sep 17 00:00:00 2001 From: Viachaslau Date: Mon, 21 Oct 2024 13:31:00 +0400 Subject: [PATCH] chore: bump `checkout`, `cache` and `setup-node` actions to v4 (#222) --- .github/workflows/auto-build.yml | 6 +++--- .github/workflows/composite/npm/action.yml | 2 +- .github/workflows/coverage.yml | 4 ++-- .github/workflows/deploy.yml | 6 +++--- .github/workflows/release.yml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index c1c8d6de..b35bd790 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -31,7 +31,7 @@ jobs: target: ['lint', 'test', 'build', 'format'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -39,7 +39,7 @@ jobs: uses: ./.github/workflows/composite/npm - name: Cache Nx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules/.cache/nx key: ${{ env.NX_CACHE }}-${{ hashFiles('**/package-lock.json') }}-${{ matrix.target }}-${{ matrix.index }}-${{ github.sha }} diff --git a/.github/workflows/composite/npm/action.yml b/.github/workflows/composite/npm/action.yml index a0792790..02aaa0b5 100644 --- a/.github/workflows/composite/npm/action.yml +++ b/.github/workflows/composite/npm/action.yml @@ -11,7 +11,7 @@ runs: using: 'composite' steps: - name: Set Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a2267017..0120dd8e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -26,7 +26,7 @@ jobs: uses: ./.github/workflows/composite/npm - name: Cache Nx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules/.cache/nx key: ${{ env.NX_CACHE }}-${{ hashFiles('**/package-lock.json') }}-${{ matrix.target }}-${{ matrix.index }}-${{ github.sha }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6825956d..832aff43 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: install-deps: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ env.TARGET_REF }} token: ${{ secrets.GPR_TOKEN }} @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest needs: install-deps steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ env.TARGET_REF }} token: ${{ secrets.GPR_TOKEN }} @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ env.TARGET_REF }} token: ${{ secrets.GPR_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9d5d038..c4b5a746 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.GPR_TOKEN }}