mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:37:32 +00:00
use cache
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -9,15 +9,13 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: "read"
|
contents: "read"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up persistent Buildx builder
|
- name: Set up persistent Buildx builder
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
|
||||||
install: true
|
|
||||||
use: true
|
|
||||||
- run: docker buildx du
|
- run: docker buildx du
|
||||||
- name: Expose GitHub Runtime
|
- name: Build
|
||||||
uses: crazy-max/ghaction-github-runtime@v3
|
uses: docker/bake-action@v6
|
||||||
- name: Build via Make
|
with:
|
||||||
|
push: false
|
||||||
|
- name: Run
|
||||||
run: make login-lint
|
run: make login-lint
|
||||||
- run: docker buildx du
|
- run: docker buildx du
|
||||||
|
@@ -1,3 +1,13 @@
|
|||||||
|
group "default" {
|
||||||
|
targets = [
|
||||||
|
"login-test-lint",
|
||||||
|
"login-test-unit",
|
||||||
|
"core-mock",
|
||||||
|
"login-test-integration",
|
||||||
|
"login-test-acceptance",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
target "default" {
|
target "default" {
|
||||||
cache-from = ["type=gha"]
|
cache-from = ["type=gha"]
|
||||||
cache-to = ["type=gha,ignore-error=true,mode=max"]
|
cache-to = ["type=gha,ignore-error=true,mode=max"]
|
||||||
|
Reference in New Issue
Block a user