ci: fix pipeline?
This commit is contained in:
parent
b3afa401a3
commit
f629dc2796
2 changed files with 12 additions and 16 deletions
|
@ -25,11 +25,10 @@ lint-clippy:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- cargo version
|
- cargo version
|
||||||
- cargo clippy
|
- cargo clippy
|
||||||
rules:
|
only:
|
||||||
- changes:
|
changes:
|
||||||
- src/*
|
- src/*
|
||||||
- cargo.*
|
- cargo.*
|
||||||
when: always
|
|
||||||
|
|
||||||
lint-fmt:
|
lint-fmt:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
@ -38,11 +37,10 @@ lint-fmt:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- cargo version
|
- cargo version
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
rules:
|
only:
|
||||||
- changes:
|
changes:
|
||||||
- src/*
|
- src/*
|
||||||
- cargo.*
|
- cargo.*
|
||||||
when: always
|
|
||||||
|
|
||||||
|
|
||||||
# has to actually compile
|
# has to actually compile
|
||||||
|
@ -53,11 +51,10 @@ build:
|
||||||
- cargo version
|
- cargo version
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- RUST_BACKTRACE=1 cargo test --verbose
|
- RUST_BACKTRACE=1 cargo test --verbose
|
||||||
rules:
|
only:
|
||||||
- changes:
|
changes:
|
||||||
- src/*
|
- src/*
|
||||||
- cargo.*
|
- cargo.*
|
||||||
when: on_success
|
|
||||||
|
|
||||||
|
|
||||||
# from https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
|
# from https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html
|
||||||
|
|
|
@ -3,7 +3,6 @@ name = "skynet_ldap_backend"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "update_data"
|
name = "update_data"
|
||||||
|
|
Loading…
Reference in a new issue