mirror of
https://gitlab.com/Anson-Projects/shuttle-christmas-code-hunt-2023.git
synced 2025-06-15 14:46:47 +00:00
CI checks
This commit is contained in:
parent
6586f503f6
commit
aaff60e15b
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
@ -0,0 +1,18 @@
|
||||
stages:
|
||||
- test
|
||||
|
||||
image: rust:latest
|
||||
|
||||
before_script:
|
||||
- rustup component add clippy
|
||||
- rustup component add rustfmt
|
||||
|
||||
clippy:
|
||||
stage: test
|
||||
script:
|
||||
- cargo clippy -- -D warnings
|
||||
|
||||
rustfmt:
|
||||
stage: test
|
||||
script:
|
||||
- cargo fmt -- --check
|
Loading…
x
Reference in New Issue
Block a user