From 1fcadd0b5ea8a5c71fd87ce212a7fd82363d0a1a Mon Sep 17 00:00:00 2001 From: Hamir Mahal Date: Thu, 27 Jun 2024 14:49:27 -0700 Subject: [PATCH] fix: usage of `deprecated` version of `Node.js` --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/lint.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a25d9809..4877e76b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Rust ${{ matrix.rust-toolchain }} uses: actions-rs/toolchain@v1 @@ -62,7 +62,7 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: npm @@ -73,19 +73,19 @@ jobs: echo "::set-output name=key::${{ runner.os }}-electron-${{ hashFiles('./package-lock.json') }}" - name: Cache Electron (Linux) if: matrix.os == 'ubuntu-latest' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ steps.electron_cache_vars.outputs.key }} path: ~/.cache/electron - name: Cache Electron (Windows) if: matrix.os == 'windows-latest' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ steps.electron_cache_vars.outputs.key }} path: "%LOCALAPPDATA%\\electron\\Cache" - name: Cache Electron (macOS) if: matrix.os == 'macos-latest' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ runner.os }}-electron-${{ hashFiles('./package-lock.json') }} path: ~/Library/Caches/electron diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2e3795925..4833bbb77 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,7 @@ jobs: rust-toolchain: [nightly] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Rust ${{ matrix.rust-toolchain }} uses: actions-rs/toolchain@v1 with: @@ -32,12 +32,12 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" - name: Cache Electron - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/electron key: ${{ runner.os }}-electron-${{ hashFiles('./package-lock.json') }}