fix(ci): set working-directory to ./backend for cargo commands
Some checks failed
Lint and Build / lint-and-build (push) Failing after 46s
Some checks failed
Lint and Build / lint-and-build (push) Failing after 46s
This commit is contained in:
parent
360095289c
commit
6938a58dc5
1 changed files with 3 additions and 0 deletions
|
|
@ -30,10 +30,13 @@ jobs:
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
|
|
||||||
- name: Run Clippy
|
- name: Run Clippy
|
||||||
|
working-directory: ./backend
|
||||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
- name: Build Rust project
|
- name: Build Rust project
|
||||||
|
working-directory: ./backend
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
- name: Test Rust project
|
- name: Test Rust project
|
||||||
|
working-directory: ./backend
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue