diff --git a/.forgejo/workflows/qs.yml b/.forgejo/workflows/qs.yml index a709883..4f80763 100644 --- a/.forgejo/workflows/qs.yml +++ b/.forgejo/workflows/qs.yml @@ -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"