PMT-3: Update CI with caching for Dependencies
Some checks failed
Quality Check / Linting (push) Failing after 32s
Quality Check / Validate OAS (push) Successful in 59s
Quality Check / Testing (push) Has been cancelled
Quality Check / Static Analysis (push) Has been cancelled

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

View file

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