diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f65049..7402579 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,3 +17,16 @@ variables: SECRET_DETECTION_ENABLED: 'true' secret_detection: stage: secret-detection + +rust_test: + stage: test + image: rust:1.93.1 + cache: + key: cargo + paths: + - .cargo/ + - target/ + variables: + CARGO_HOME: "$CI_PROJECT_DIR/.cargo" + script: + - cargo test --workspace --all-features --locked