Skip to content

Commit 5b02669

Browse files
authored
ci: update GitHub Actions to use latest versions of checkout and cache (#379)
2 parents 649da64 + 9285793 commit 5b02669

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
GITHUB_HEAD_REF: ${{ steps.script.outputs.headRef }}
3535
GITHUB_BASE_REF: ${{ steps.script.outputs.tagHash }}
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
4040

4141
- name: Cache node modules
4242
id: cache
43-
uses: actions/cache@v2
43+
uses: actions/cache@v4
4444
with:
4545
path: |
4646
**/node_modules
@@ -58,12 +58,12 @@ jobs:
5858
needs: [ prepare-env ]
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@v2
61+
- uses: actions/checkout@v4
6262
with:
6363
fetch-depth: 0
6464

6565
- name: Cache node modules
66-
uses: actions/cache@v2
66+
uses: actions/cache@v4
6767
with:
6868
path: |
6969
**/node_modules

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
target: [ 'build', 'test', 'lint' ]
2727
steps:
2828
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v2
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232

33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636

@@ -69,11 +69,11 @@ jobs:
6969
db-type: ['postgres', 'mysql']
7070
steps:
7171
- name: Use Node.js ${{ matrix.node-version }}
72-
uses: actions/setup-node@v2
72+
uses: actions/setup-node@v4
7373
with:
7474
node-version: ${{ matrix.node-version }}
7575

76-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@v4
7777
with:
7878
fetch-depth: 0
7979

0 commit comments

Comments
 (0)