Skip to content

Commit

Permalink
chore: upgrade gh actions to @v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Feb 7, 2024
1 parent 297ac9b commit 2e25ab6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test-extra-info-local-usage:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test extra-info action
with:
npm_version: ${{ env.NPM_VERSION }}
Expand All @@ -31,7 +31,7 @@ jobs:
test-node-setup:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test node-setup action
with:
npm_version: ${{ env.NPM_VERSION }}
Expand All @@ -44,7 +44,7 @@ jobs:
test-node-setup-default-values:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test node-setup action
with:
project_id: "test-node-setup-default"
Expand All @@ -53,7 +53,7 @@ jobs:
test-changed-files:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down
2 changes: 1 addition & 1 deletion extra-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
using: 'composite'
steps:
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}

Expand Down
4 changes: 2 additions & 2 deletions node-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
package_json_path: ${{ env.NODE_MODULE_DIR }}/${{ inputs.package_json_file }}

- name: Cache global npm
uses: actions/cache@v3
uses: actions/cache@v4
if: ( inputs.cache_global_npm_modules )
env:
cache-name: cache-${{ inputs.project_id }}-global-node-modules
Expand All @@ -73,7 +73,7 @@ runs:
${{ runner.os }}-
- name: Cache local node_modules
uses: actions/cache@v3
uses: actions/cache@v4
if: ( inputs.cache_npm_modules )
id: local-cache
env:
Expand Down

0 comments on commit 2e25ab6

Please sign in to comment.