File tree Expand file tree Collapse file tree 2 files changed +76
-9
lines changed Expand file tree Collapse file tree 2 files changed +76
-9
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ - push
3
+ name : build::linux
4
+ jobs :
5
+ build_linux_x86_64_musl :
6
+ name : x86_64-musl
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions-rs/toolchain@v1
11
+ with :
12
+ toolchain : 1.58.0 # keep in sync with MSRV in README.md/Cargo.toml
13
+ target : x86_64-unknown-linux-musl
14
+ override : true
15
+ - uses : actions-rs/cargo@v1
16
+ with :
17
+ use-cross : true
18
+ command : test
19
+ args : --target x86_64-unknown-linux-musl
20
+ - uses : actions-rs/cargo@v1
21
+ with :
22
+ use-cross : true
23
+ command : build --release
24
+ args : --target x86_64-unknown-linux-musl
25
+
26
+ build_linux_aarch64_musl :
27
+ name : aarch64-musl
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ - uses : actions/checkout@v2
31
+ - uses : actions-rs/toolchain@v1
32
+ with :
33
+ toolchain : 1.58.0 # keep in sync with MSRV in README.md/Cargo.toml
34
+ target : aarch64-unknown-linux-musl
35
+ override : true
36
+ - uses : actions-rs/cargo@v1
37
+ with :
38
+ use-cross : true
39
+ command : test
40
+ args : --target aarch64-unknown-linux-musl
41
+ - uses : actions-rs/cargo@v1
42
+ with :
43
+ use-cross : true
44
+ command : build --release
45
+ args : --target aarch64-unknown-linux-musl
Original file line number Diff line number Diff line change 1
- on : push
2
- name : Clippy
1
+ on :
2
+ - push
3
+ name : lint
3
4
jobs :
4
- clippy_check :
5
+ clippy :
6
+ name : clippy
5
7
runs-on : ubuntu-latest
6
8
steps :
7
- - uses : actions/checkout@v1
8
- - run : rustup install 1.58.0 # keep in sync with MSRV in README.md/Cargo.toml
9
- - run : rustup component add clippy
10
- - uses : actions-rs/clippy-check@v1
9
+ - uses : actions/checkout@v2
10
+ - uses : actions-rs/toolchain@v1
11
11
with :
12
- token : ${{ secrets.GITHUB_TOKEN }}
13
- args : --all-features
12
+ profile : minimal
13
+ toolchain : 1.58.0 # keep in sync with MSRV in README.md/Cargo.toml
14
+ override : true
15
+ components : rustfmt, clippy
16
+ - uses : actions-rs/cargo@v1
17
+ with :
18
+ command : clippy
19
+ args : -- -D warnings
20
+
21
+ rustfmt :
22
+ name : rustfmt
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - uses : actions-rs/toolchain@v1
27
+ with :
28
+ profile : minimal
29
+ toolchain : 1.58.0 # keep in sync with MSRV in README.md/Cargo.toml
30
+ override : true
31
+ components : rustfmt, clippy
32
+ - uses : actions-rs/cargo@v1
33
+ with :
34
+ command : fmt
35
+ args : --all -- --check
You can’t perform that action at this time.
0 commit comments