PMT-3: Update CI with caching for Dependencies
Some checks failed
Quality Check / Testing (push) Failing after 1m25s
Quality Check / Static Analysis (push) Failing after 1m34s
Quality Check / Linting (push) Failing after 38s
Quality Check / Validate OAS (push) Failing after 33s

This commit is contained in:
Dominik Säume 2024-09-19 21:58:48 +02:00
parent 067e146a9b
commit 7a69612b2a
Signed by: SZUT-Dominik
GPG key ID: 67D15BB250B41E7C

View file

@ -13,6 +13,14 @@ jobs:
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Validate OAS Spec"
@ -25,6 +33,14 @@ jobs:
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Generate OAS Boilerplate"
@ -41,6 +57,14 @@ jobs:
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Generate OAS Boilerplate"
@ -57,6 +81,14 @@ jobs:
steps:
- name: "Checkout"
uses: "https://git.euph.dev/actions/checkout@v3"
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Prepare Gradle"
run: gradle clean
- name: "Generate OAS Boilerplate"