Skip to content

Commit

Permalink
ci: update gh actions versions
Browse files Browse the repository at this point in the history
Signed-off-by: Okiki <[email protected]>
  • Loading branch information
okikio committed Mar 3, 2024
1 parent 5545790 commit 771420b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
Expand All @@ -25,7 +25,7 @@ jobs:
deno-version: ~1.x

- name: Restore deno cache
uses: actions/cache@v3.0.1
uses: actions/cache@v4
with:
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.lock.json') }}
restore-keys: ${{ runner.os }}-deno-
Expand All @@ -35,13 +35,13 @@ jobs:
~/AppData/Local/deno/deps
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
node-version-file: '.nvmrc' # optional

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
# Version of pnpm to install
version: latest # optional
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-and-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
Expand All @@ -36,7 +36,7 @@ jobs:
deno-version: ~1.x

- name: Restore deno cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.lock.json') }}
restore-keys: ${{ runner.os }}-deno-
Expand All @@ -46,13 +46,13 @@ jobs:
~/AppData/Local/deno/deps
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
node-version-file: '.nvmrc' # optional

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
# Version of pnpm to install
version: latest # optional
Expand All @@ -65,7 +65,7 @@ jobs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down

0 comments on commit 771420b

Please sign in to comment.