From 928579353328701aa1fb26456af77024d1fa3fc3 Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Tue, 13 May 2025 08:53:16 +0200 Subject: [PATCH] ci: update GitHub Actions to use latest versions of checkout and cache --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db345dbd9..c0fe69598 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,13 +34,13 @@ jobs: GITHUB_HEAD_REF: ${{ steps.script.outputs.headRef }} GITHUB_BASE_REF: ${{ steps.script.outputs.tagHash }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache node modules id: cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | **/node_modules @@ -58,12 +58,12 @@ jobs: needs: [ prepare-env ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | **/node_modules diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8ad4f761..8995a9aee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,11 @@ jobs: target: [ 'build', 'test', 'lint' ] steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -69,11 +69,11 @@ jobs: db-type: ['postgres', 'mysql'] steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0