diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f689c3..3b0e72b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,11 +25,10 @@ lint-clippy: - rustc --version - cargo version - cargo clippy - rules: - - changes: - - src/* - - cargo.* - when: always + only: + changes: + - src/* + - cargo.* lint-fmt: stage: lint @@ -38,11 +37,10 @@ lint-fmt: - rustc --version - cargo version - cargo fmt -- --check - rules: - - changes: - - src/* - - cargo.* - when: always + only: + changes: + - src/* + - cargo.* # has to actually compile @@ -53,11 +51,10 @@ build: - cargo version - cargo build --verbose - RUST_BACKTRACE=1 cargo test --verbose - rules: - - changes: - - src/* - - cargo.* - when: on_success + only: + changes: + - src/* + - cargo.* # from https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html diff --git a/Cargo.toml b/Cargo.toml index cb096e3..bc1bf5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,6 @@ name = "skynet_ldap_backend" version = "0.1.0" edition = "2021" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] name = "update_data"