File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change 4848 command : test
4949 args : --workspace --target ${{ matrix.target }}
5050
51- rustfmt :
52- name : rustfmt
51+ format-lint-build :
52+ name : format-lint-build
5353 runs-on : ubuntu-latest
54+ timeout-minutes : 10
5455 steps :
5556 - name : Checkout repository
5657 uses : actions/checkout@v4
@@ -59,26 +60,13 @@ jobs:
5960 uses : dtolnay/rust-toolchain@stable
6061 with :
6162 toolchain : stable
62- components : rustfmt
63+ components : clippy, rustfmt
6364
6465 - name : Check formatting
6566 run : cargo fmt --all -- --check
6667
67- lint-build :
68- name : lint-build
69- runs-on : ubuntu-latest
70- timeout-minutes : 10
71- steps :
72- - name : Checkout repository
73- uses : actions/checkout@v4
74-
75- - name : Install Rust toolchain
76- uses : dtolnay/rust-toolchain@stable
77- with :
78- toolchain : stable
79- components : clippy
80-
8168 - name : Run linter
8269 run : cargo clippy --workspace
8370
84- - run : cargo build
71+ - name : Run build
72+ run : cargo build
You can’t perform that action at this time.
0 commit comments