mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
Add format
job
This commit is contained in:
parent
c7d698f211
commit
c608e0a3b7
@ -11,6 +11,23 @@ stages:
|
|||||||
- release
|
- release
|
||||||
- distribute
|
- distribute
|
||||||
|
|
||||||
|
format:
|
||||||
|
stage: test
|
||||||
|
image: rust:latest
|
||||||
|
before_script:
|
||||||
|
- rustup component add rustfmt
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cargo fmt --all -- --check --verbose
|
||||||
|
|
||||||
|
cache:
|
||||||
|
key: fmt-cache
|
||||||
|
paths:
|
||||||
|
- ~/.cargo/bin/
|
||||||
|
- ~/.cargo/git/db/
|
||||||
|
- ~/.cargo/registry/cache/
|
||||||
|
- ~/.cargo/registry/index/
|
||||||
|
|
||||||
# base earthly setup for jobs
|
# base earthly setup for jobs
|
||||||
.base:
|
.base:
|
||||||
tags: [ saas-linux-medium-amd64 ]
|
tags: [ saas-linux-medium-amd64 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user