ci: cache all rust earthly targets
parent
e6862351f9
commit
3dcfe48803
|
@ -46,7 +46,7 @@ base-frontend:
|
|||
|
||||
upend-bin:
|
||||
FROM +base-backend
|
||||
CACHE target
|
||||
CACHE --id=rust-target target
|
||||
RUN cargo build --release
|
||||
COPY +git-version/version.txt .
|
||||
RUN UPEND_VERSION=$(cat version.txt) cargo build --release
|
||||
|
@ -152,6 +152,7 @@ lint:
|
|||
|
||||
lint-backend:
|
||||
FROM +base-backend
|
||||
CACHE --id=rust-target target
|
||||
RUN cargo clippy --workspace
|
||||
|
||||
lint-frontend:
|
||||
|
@ -171,6 +172,7 @@ audit:
|
|||
|
||||
audit-backend:
|
||||
FROM +base-backend
|
||||
CACHE --id=rust-target target
|
||||
RUN cargo audit --workspace
|
||||
|
||||
audit-frontend:
|
||||
|
@ -185,6 +187,7 @@ test:
|
|||
|
||||
test-backend:
|
||||
FROM +base-backend
|
||||
CACHE --id=rust-target target
|
||||
RUN cargo nextest run --workspace
|
||||
|
||||
test-jslib:
|
||||
|
|
Loading…
Reference in New Issue