mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 06:57:33 +00:00
cache compose tests
This commit is contained in:
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -33,8 +33,8 @@ jobs:
|
|||||||
- uses: depot/setup-action@v1
|
- uses: depot/setup-action@v1
|
||||||
with:
|
with:
|
||||||
oidc: true
|
oidc: true
|
||||||
- name: Save Run Caches
|
- name: Restore Run Caches
|
||||||
uses: actions/cache@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ runner.temp }}/zitadel-make-cache
|
path: ${{ runner.temp }}/zitadel-make-cache
|
||||||
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||||
@@ -47,3 +47,10 @@ jobs:
|
|||||||
REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||||
CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache
|
CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache
|
||||||
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: .
|
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: .
|
||||||
|
- name: Save Run Caches
|
||||||
|
id: cache-primes-save
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: ${{ runner.temp }}/zitadel-make-cache
|
||||||
|
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
|
||||||
|
if: always()
|
||||||
|
Reference in New Issue
Block a user