diff --git a/.github/workflows/_run-app-as-provider-contract-tests.yml b/.github/workflows/_run-app-as-provider-contract-tests.yml index 4828e97a..a1e8501c 100644 --- a/.github/workflows/_run-app-as-provider-contract-tests.yml +++ b/.github/workflows/_run-app-as-provider-contract-tests.yml @@ -33,7 +33,7 @@ jobs: java-version: ${{ inputs.java_version }} distribution: 'adopt' - name: Cache Maven packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/_run-java-tests-and-publish-pacts.yml b/.github/workflows/_run-java-tests-and-publish-pacts.yml index c3bdb46d..170950c4 100644 --- a/.github/workflows/_run-java-tests-and-publish-pacts.yml +++ b/.github/workflows/_run-java-tests-and-publish-pacts.yml @@ -52,14 +52,14 @@ jobs: java-version: ${{ inputs.java_version }} distribution: 'adopt' - name: Cache Maven packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Cache pacts directory if: ${{ inputs.publish_pacts }} - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: target/pacts key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }}-pacts @@ -102,13 +102,13 @@ jobs: java-version: ${{ inputs.java_version }} distribution: 'adopt' - name: Cache Maven packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Cache pacts directory - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: target/pacts key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }}-pacts diff --git a/.github/workflows/_run-node-cypress-tests.yml b/.github/workflows/_run-node-cypress-tests.yml index e5411c5d..50059d9e 100644 --- a/.github/workflows/_run-node-cypress-tests.yml +++ b/.github/workflows/_run-node-cypress-tests.yml @@ -23,7 +23,7 @@ jobs: with: node-version-file: ".nvmrc" - name: Cache build directories - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: | node_modules @@ -35,7 +35,7 @@ jobs: id: parse-cypress-version run: echo "CYPRESS_VERSION=$(jq -r '.devDependencies.cypress' package.json)" >> $GITHUB_OUTPUT - name: Cache Cypress - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cache/Cypress key: ${{ runner.os }}-cypress-${{ steps.parse-cypress-version.outputs.CYPRESS_VERSION }} diff --git a/.github/workflows/_run-node-install-and-compile.yml b/.github/workflows/_run-node-install-and-compile.yml index dca6bd9b..4ea0b0b3 100644 --- a/.github/workflows/_run-node-install-and-compile.yml +++ b/.github/workflows/_run-node-install-and-compile.yml @@ -30,7 +30,7 @@ jobs: with: node-version-file: ".nvmrc" - name: Cache build directories - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: | node_modules @@ -39,7 +39,7 @@ jobs: dist key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }} - name: Cache NPM packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -50,7 +50,7 @@ jobs: run: echo "CYPRESS_VERSION=$(jq -r '.devDependencies.cypress' package.json)" >> $GITHUB_OUTPUT - name: Cache Cypress if: ${{ inputs.has_cypress_tests }} - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cache/Cypress key: ${{ runner.os }}-cypress-${{ steps.parse-cypress-version.outputs.CYPRESS_VERSION }} diff --git a/.github/workflows/_run-node-unit-tests-and-publish-pacts.yml b/.github/workflows/_run-node-unit-tests-and-publish-pacts.yml index 9c1ee97a..e7b9c13e 100644 --- a/.github/workflows/_run-node-unit-tests-and-publish-pacts.yml +++ b/.github/workflows/_run-node-unit-tests-and-publish-pacts.yml @@ -32,7 +32,7 @@ jobs: with: node-version-file: ".nvmrc" - name: Cache build directories - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: | node_modules @@ -42,7 +42,7 @@ jobs: key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }} - name: Cache pacts directory if: ${{ inputs.publish_pacts }} - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: pacts key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }}-pacts @@ -62,7 +62,7 @@ jobs: with: node-version-file: ".nvmrc" - name: Cache build directories - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: | node_modules @@ -71,7 +71,7 @@ jobs: dist key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }} - name: Cache pacts directory - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: pacts key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }}-pacts diff --git a/.github/workflows/_run-provider-pact-tests-for-consumer.yml b/.github/workflows/_run-provider-pact-tests-for-consumer.yml index 287d3dc3..81093e03 100644 --- a/.github/workflows/_run-provider-pact-tests-for-consumer.yml +++ b/.github/workflows/_run-provider-pact-tests-for-consumer.yml @@ -45,7 +45,7 @@ jobs: java-version: ${{ inputs.java_version }} distribution: 'adopt' - name: Cache Maven packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}