File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ # Check all crates.
2+ #
3+ # This workflow checks that `Cargo.lock` is configured sufficiently so that each
4+ # crate can be compiled on its
5+ # own.
6+ name : check-all
7+
8+ permissions :
9+ contents : read
10+
11+ on :
12+ pull_request :
13+ paths :
14+ - Cargo.lock
15+ - .github/workflows/check-all.yml
16+
17+ env :
18+ CARGO_ACTION_FMT_VERSION : v0.1.3
19+ CARGO_INCREMENTAL : 0
20+ CARGO_NET_RETRY : 10
21+ RUST_BACKTRACE : short
22+ RUSTUP_MAX_RETRIES : 10
23+
24+ jobs :
25+ check-all :
26+ timeout-minutes : 20
27+ runs-on : ubuntu-latest
28+ container :
29+ image : docker://rust:1.56.1-buster
30+ steps :
31+ - run : |
32+ curl --proto =https --tlsv1.3 -vsSfLo /usr/local/bin/cargo-action-fmt "https://github.com/olix0r/cargo-action-fmt/releases/download/release%2F${CARGO_ACTION_FMT_VERSION}/cargo-action-fmt-x86_64-unknown-linux-gnu"
33+ chmod 755 /usr/local/bin/cargo-action-fmt
34+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
35+ - run : cargo fetch
36+ - run : |
37+ cargo check --frozen \
38+ --workspace \
39+ --all-targets \
40+ --exclude=linkerd-meshtls-boring \
41+ --message-format=json | cargo-action-fmt
42+
Original file line number Diff line number Diff line change 7777 outputs :
7878 crates : ${{ steps.list-changed.outputs.crates }}
7979
80- check :
80+ check-each :
8181 needs : list-changed-crates
8282 timeout-minutes : 20
8383 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments