mirror of
https://gitlab.com/Anson-Projects/shuttle-christmas-code-hunt-2023.git
synced 2025-08-02 11:21:24 +00:00
CI checks
This commit is contained in:
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
|
Reference in New Issue
Block a user