From c4ce1531cc7ddb5ce116b772ac0c0c9f54e5806f Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Sun, 18 Dec 2022 21:17:18 +0100 Subject: [PATCH] Specify exact version for GH actions to avoid accidental breakage (#69) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To avoid accidental breakage when an action is implicitly upgraded, let’s fixate the action versions and let dependabot do it’s thing. Therefore when an action upgrade breaks the build it becomes visible in the dependabot PR. --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1e5097..112e11f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,16 +20,16 @@ jobs: name: nodejs ${{ matrix.node-version }} (${{ matrix.lint && 'lint → ' || '' }}${{ matrix.tests && 'test → ' || '' }}build) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3.2.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v3.5.0 with: node-version: ${{ matrix.node-version }} - name: Cache node modules id: cache-npm - uses: actions/cache@v3 + uses: actions/cache@v3.0.11 env: cache-name: cache-node-modules with: @@ -38,7 +38,7 @@ jobs: - name: Cache eslint id: cache-eslint - uses: actions/cache@v3 + uses: actions/cache@v3.0.11 env: cache-name: cache-eslint with: @@ -47,7 +47,7 @@ jobs: - name: Cache TypeScript id: cache-typescript - uses: actions/cache@v3 + uses: actions/cache@v3.0.11 env: cache-name: cache-typescript with: @@ -56,7 +56,7 @@ jobs: - name: Cache prettier id: cache-prettier - uses: actions/cache@v3 + uses: actions/cache@v3.0.11 env: cache-name: cache-prettier with: @@ -76,7 +76,7 @@ jobs: if: ${{ matrix.tests }} - name: Upload code coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.1 with: name: code-coverage path: coverage/lcov.info