Skip to content

Commit

Permalink
ci: fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jun 19, 2024
1 parent cbb55ba commit c612b5c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean

- name: check minimal
run: cargo ci-check-min
run: just check-min

- name: check default
run: cargo ci-check-default
run: just check-default

- name: tests
timeout-minutes: 60
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
run: just downgrade-for-msrv

- name: check minimal
run: cargo ci-check-min
run: just check-min

- name: check default
run: cargo ci-check-default
run: just check-default

- name: tests
timeout-minutes: 60
Expand Down
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ all_crate_features := if os() == "linux" {
"--features='" + non_linux_all_features_list + "'"
}

[private]
check-min:
cargo hack --workspace check --no-default-features

[private]
check-default:
cargo hack --workspace check

# Run Clippy over workspace.
clippy toolchain="":
cargo {{ toolchain }} clippy --workspace --all-targets {{ all_crate_features }}
Expand Down

0 comments on commit c612b5c

Please sign in to comment.