mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
ci: run backend checks in one shell
This commit is contained in:
parent
0ecd28af64
commit
5e9893b588
1 changed files with 5 additions and 5 deletions
|
|
@ -7,8 +7,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- rustup component add rustfmt clippy
|
- rustup component add rustfmt clippy
|
||||||
- cargo install -j 2 sqlx-cli --version 0.8.6 --locked --no-default-features --features postgres,tls-rustls
|
- cargo install -j 2 sqlx-cli --version 0.8.6 --locked --no-default-features --features postgres,tls-rustls
|
||||||
- cd backend
|
|
||||||
- |
|
- |
|
||||||
|
cd backend
|
||||||
ok=0
|
ok=0
|
||||||
i=1
|
i=1
|
||||||
while [ "$i" -le 30 ]; do
|
while [ "$i" -le 30 ]; do
|
||||||
|
|
@ -24,10 +24,10 @@ steps:
|
||||||
echo "sqlx migrate run failed after 30 attempts"
|
echo "sqlx migrate run failed after 30 attempts"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- cargo fmt --all -- --check
|
cargo fmt --all -- --check
|
||||||
- cargo clippy -j 2 --all-targets --all-features -- -D warnings
|
cargo clippy -j 2 --all-targets --all-features -- -D warnings
|
||||||
- cargo test -j 2 --all
|
cargo test -j 2 --all
|
||||||
- cargo build -j 2 --release
|
cargo build -j 2 --release
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: node:20-bookworm
|
image: node:20-bookworm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue