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
|
||||
- cargo version
|
||||
- cargo clippy
|
||||
rules:
|
||||
- changes:
|
||||
only:
|
||||
changes:
|
||||
- src/*
|
||||
- cargo.*
|
||||
when: always
|
||||
|
||||
lint-fmt:
|
||||
stage: lint
|
||||
|
@ -38,11 +37,10 @@ lint-fmt:
|
|||
- rustc --version
|
||||
- cargo version
|
||||
- cargo fmt -- --check
|
||||
rules:
|
||||
- changes:
|
||||
only:
|
||||
changes:
|
||||
- src/*
|
||||
- cargo.*
|
||||
when: always
|
||||
|
||||
|
||||
# has to actually compile
|
||||
|
@ -53,11 +51,10 @@ build:
|
|||
- cargo version
|
||||
- cargo build --verbose
|
||||
- RUST_BACKTRACE=1 cargo test --verbose
|
||||
rules:
|
||||
- changes:
|
||||
only:
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue