From dc35a17698103467cf112e67ae2d48024ac1dfac Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 3 Aug 2022 12:00:16 +0200 Subject: [PATCH] Upgrade GitHub Actions --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1e4aa26b..d1b3a65a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,13 +27,13 @@ jobs: echo $env:PATH >> $env:GITHUB_PATH - name: Fetch code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 # Skip macOS & Windows, cache there is slower - name: Restore node_modules cache for Linux - uses: actions/cache@v1 + uses: actions/cache@v3 if: runner.os == 'Linux' with: path: ~/.npm @@ -70,13 +70,13 @@ jobs: echo $env:PATH >> $env:GITHUB_PATH - name: Fetch code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 # Skip macOS & Windows, cache there is slower - name: Restore node_modules cache for Linux - uses: actions/cache@v1 + uses: actions/cache@v3 if: runner.os == 'Linux' with: path: ~/.npm @@ -98,12 +98,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 - name: Restore node_modules cache - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}