ci: should deal with nestled folders now?
This commit is contained in:
parent
77ad370bf8
commit
01813be8e1
3 changed files with 22 additions and 14 deletions
|
@ -25,10 +25,13 @@ lint-clippy:
|
|||
- rustc --version
|
||||
- cargo version
|
||||
- cargo clippy
|
||||
only:
|
||||
changes:
|
||||
- src/*
|
||||
- cargo.*
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- changes:
|
||||
- src/**/*
|
||||
- cargo.*
|
||||
when: always
|
||||
|
||||
lint-fmt:
|
||||
stage: lint
|
||||
|
@ -37,10 +40,13 @@ lint-fmt:
|
|||
- rustc --version
|
||||
- cargo version
|
||||
- cargo fmt -- --check
|
||||
only:
|
||||
changes:
|
||||
- src/*
|
||||
- cargo.*
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- changes:
|
||||
- src/**/*
|
||||
- cargo.*
|
||||
when: always
|
||||
|
||||
|
||||
# has to actually compile
|
||||
|
@ -51,10 +57,13 @@ build:
|
|||
- cargo version
|
||||
- cargo build --verbose
|
||||
- RUST_BACKTRACE=1 cargo test --verbose
|
||||
only:
|
||||
changes:
|
||||
- src/*
|
||||
- cargo.*
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- changes:
|
||||
- src/**/*
|
||||
- cargo.*
|
||||
when: on_success
|
||||
|
||||
|
||||
# from https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -199,7 +199,7 @@ pub mod password {
|
|||
|
||||
// if so then set password
|
||||
let tmp = PasswordModify {
|
||||
// none as we are staying on the same connection
|
||||
// none as we are staying on the same connection.
|
||||
user_id: Some(&dn),
|
||||
old_pass: None,
|
||||
new_pass: Some(pass),
|
||||
|
|
Loading…
Reference in a new issue