File tree 2 files changed +3
-20
lines changed
2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 1
- # This workflow file serves as an example for cargo-hakari CI integration.
2
-
3
1
on :
4
2
push :
5
3
branches :
@@ -18,20 +16,11 @@ jobs:
18
16
RUSTFLAGS : -D warnings
19
17
steps :
20
18
- uses : actions/checkout@v4
21
- - uses : actions-rs/toolchain@v1
22
- with :
23
- toolchain : stable
24
19
- name : Install cargo-hakari
25
20
uses : taiki-e/install-action@v2
26
21
with :
27
22
tool : cargo-hakari
28
23
- name : Check workspace-hack Cargo.toml is up-to-date
29
- uses : actions-rs/cargo@v1
30
- with :
31
- command : hakari
32
- args : generate --diff
24
+ run : cargo hakari generate --diff
33
25
- name : Check all crates depend on workspace-hack
34
- uses : actions-rs/cargo@v1
35
- with :
36
- command : hakari
37
- args : manage-deps --dry-run
26
+ run : cargo hakari manage-deps --dry-run
Original file line number Diff line number Diff line change @@ -22,27 +22,21 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
25
- - uses : dtolnay/rust-toolchain@1.66
26
25
- name : Test build documentation
27
26
run : cargo doc
28
27
build-and-test :
29
28
runs-on : ubuntu-latest
30
29
steps :
31
30
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
32
- - uses : dtolnay/rust-toolchain@1.66
33
31
- name : Build
34
32
run : cargo build --verbose
35
33
- name : Install latest nextest release
36
34
uses : taiki-e/install-action@nextest
37
35
- name : Test nextest all
38
- uses : actions-rs/cargo@v1
39
- with :
40
- command : nextest
41
- args : run --verbose
36
+ run : cargo nextest run --verbose
42
37
clippy :
43
38
runs-on : ubuntu-latest
44
39
steps :
45
40
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
46
- - uses : dtolnay/rust-toolchain@1.66
47
41
- name : Test Libraries
48
42
run : cargo clippy --all-targets
You can’t perform that action at this time.
0 commit comments