mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Avoid checking dev-deps for jobs *-check
and lint
in workflow ci.yml
(#978)
Avoid checking dev-deps for jobs `*-check` and lint in workflow `ci.yml` We just want to make sure cargo-binstall can compile for the target, we don't want to pull in the extra dependencies. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
8dd7aa5688
commit
f384088fd1
2 changed files with 12 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -85,6 +85,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: just ci-install-deps
|
||||
- run: just avoid-dev-deps
|
||||
- run: just check
|
||||
|
||||
apple-m1-check:
|
||||
|
@ -102,6 +103,7 @@ jobs:
|
|||
# which works better when we provide it with GITHUB_TOKEN.
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: just avoid-dev-deps
|
||||
- run: just check
|
||||
|
||||
windows-aarch64-check:
|
||||
|
@ -119,6 +121,7 @@ jobs:
|
|||
# which works better when we provide it with GITHUB_TOKEN.
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: just avoid-dev-deps
|
||||
- run: just check
|
||||
|
||||
lint:
|
||||
|
@ -142,6 +145,7 @@ jobs:
|
|||
|
||||
- run: just toolchain rustfmt,clippy
|
||||
- run: just ci-install-deps
|
||||
- run: just avoid-dev-deps
|
||||
- run: just lint
|
||||
|
||||
# Dummy job to have a stable name for the "all tests pass" requirement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue