ci: install the clippy component in the rust image
Some checks failed
ci / test (push) Has been cancelled
Some checks failed
ci / test (push) Has been cancelled
rust:1.91-bookworm ships without clippy, so the clippy step died with 'cargo-clippy is not installed for the toolchain' after all 39 tests passed. Also pushes the watcher fix (1=success 2=failure in Forgejo job statuses, not action_run's numbering).
This commit is contained in:
parent
e36070cb72
commit
a278e71627
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ jobs:
|
||||||
sh -euxc 'mkdir -p /src && tar xzf - -C /src && cd /src \
|
sh -euxc 'mkdir -p /src && tar xzf - -C /src && cd /src \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends pkg-config libssl-dev \
|
&& apt-get install -y --no-install-recommends pkg-config libssl-dev \
|
||||||
|
&& rustup component add clippy \
|
||||||
&& cargo test --locked \
|
&& cargo test --locked \
|
||||||
&& cargo clippy --locked --all-targets -- -D warnings'
|
&& cargo clippy --locked --all-targets -- -D warnings'
|
||||||
tar czf - --exclude=./target --exclude=./.git --exclude=./.worktrees . \
|
tar czf - --exclude=./target --exclude=./.git --exclude=./.worktrees . \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue