mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-10-18 19:10:37 +08:00
fix: set PATH to include CI user's home directory's .radicle/bin
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
@@ -2,6 +2,9 @@ shell: |
|
||||
cargo --version
|
||||
rustc --version
|
||||
|
||||
CI_USER_HOME="$(getent passwd "$USER" | awk -F: '{ print $6 }')"
|
||||
export PATH="$CI_USER_HOME/.radicle/bin:$PATH"
|
||||
|
||||
cargo fmt --check
|
||||
cargo clippy --all-targets --workspace -- --deny clippy::all
|
||||
cargo build --all-targets --workspace
|
||||
|
||||
Reference in New Issue
Block a user