Skip to content

Commit

Permalink
Merge pull request #1053 from hamirmahal/fix/usage-of-actions-that-us…
Browse files Browse the repository at this point in the history
…e-deprecated-version-of-nodejs

fix: usage of `deprecated` version of `Node.js`
  • Loading branch information
kjvalencik authored Jun 27, 2024
2 parents 9edc005 + 1fcadd0 commit 5d16c4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ 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:
toolchain: ${{ matrix.rust-toolchain }}
- 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') }}
Expand Down

0 comments on commit 5d16c4d

Please sign in to comment.