@@ -19,17 +19,17 @@ jobs:
1919 rust : [stable]
2020 TARGET :
2121 - aarch64-unknown-linux-gnu
22+ - aarch64-unknown-linux-musl
2223 - arm-unknown-linux-gnueabi
24+ - arm-unknown-linux-gnueabihf
2325 - armv7-unknown-linux-gnueabihf
2426 - i686-unknown-linux-gnu
2527 - i686-unknown-linux-musl
26- - mips-unknown-linux-gnu
27- - mips64-unknown-linux-gnuabi64
28- - mips64el-unknown-linux-gnuabi64
29- - mipsel-unknown-linux-gnu
28+ # - loongarch64-unknown-linux-gnu
3029 - powerpc-unknown-linux-gnu
3130 # - powerpc64-unknown-linux-gnu
3231 - powerpc64le-unknown-linux-gnu
32+ - riscv64gc-unknown-linux-gnu
3333 - s390x-unknown-linux-gnu
3434 - x86_64-unknown-linux-gnu
3535 - x86_64-unknown-linux-musl
@@ -44,19 +44,13 @@ jobs:
4444 experimental : true
4545
4646 steps :
47- - uses : actions/checkout@v2
48- - uses : actions-rs/ toolchain@v1
47+ - uses : actions/checkout@v4
48+ - uses : dtolnay/rust- toolchain@master
4949 with :
50- profile : minimal
5150 toolchain : ${{ matrix.rust }}
52- target : ${{ matrix.TARGET }}
53- override : true
51+ target : ${{ matrix.target }}
5452
55- - name : Build
56- uses : actions-rs/cargo@v1
57- with :
58- command : build
59- args : --target=${{ matrix.TARGET }}
53+ - run : cargo build --target=${{ matrix.TARGET }}
6054
6155 - name : Test
6256 uses : actions-rs/cargo@v1
@@ -68,33 +62,14 @@ jobs:
6862 ci-linux-msrv :
6963 name : CI
7064 runs-on : ubuntu-latest
71- strategy :
72- matrix :
73- rust : [1.28.0]
74- TARGET :
75- - x86_64-unknown-linux-gnu
76-
7765 steps :
78- - uses : actions/checkout@v2
79- - uses : actions-rs/ toolchain@v1
66+ - uses : actions/checkout@v4
67+ - uses : dtolnay/rust- toolchain@master
8068 with :
81- profile : minimal
82- toolchain : ${{ matrix.rust }}
83- target : ${{ matrix.TARGET }}
84- override : true
69+ toolchain : 1.28.0
8570
86- - name : Build
87- uses : actions-rs/cargo@v1
88- with :
89- command : build
90- args : --target=${{ matrix.TARGET }}
91-
92- - name : Test
93- uses : actions-rs/cargo@v1
94- with :
95- use-cross : true
96- command : test
97- args : --target=${{ matrix.TARGET }}
71+ - run : cargo build
72+ - run : cargo test
9873
9974 ci-macos :
10075 name : CI
@@ -106,54 +81,33 @@ jobs:
10681 TARGET : [x86_64-apple-darwin]
10782
10883 steps :
109- - uses : actions/checkout@v2
110-
111- - uses : actions-rs/toolchain@v1
84+ - uses : actions/checkout@v4
85+ - uses : dtolnay/rust-toolchain@master
11286 with :
113- profile : minimal
11487 toolchain : ${{ matrix.rust }}
115- target : ${{ matrix.TARGET }}
116- override : true
88+ target : ${{ matrix.target }}
11789
118- - uses : actions-rs/cargo@v1
119- with :
120- command : build
121- args : --target=${{ matrix.TARGET }}
90+ - run : cargo build --target=${{ matrix.TARGET }}
12291
12392 checks :
12493 runs-on : ubuntu-latest
12594
12695 steps :
127- - uses : actions/checkout@v2
128- - uses : actions-rs/ toolchain@v1
96+ - uses : actions/checkout@v4
97+ - uses : dtolnay/rust- toolchain@stable
12998 with :
130- profile : minimal
131- toolchain : stable
13299 components : rustfmt
133100
134- - name : Doc
135- uses : actions-rs/cargo@v1
136- with :
137- command : doc
138-
139- - name : Formatting
140- uses : actions-rs/cargo@v1
141- with :
142- command : fmt
143- args : --all -- --check
101+ - run : cargo doc
102+ - run : cargo fmt --all -- --check
144103
145104 clippy :
146105 runs-on : ubuntu-latest
147106 env :
148107 RUSTFLAGS : ' --allow warnings'
149108 steps :
150- - uses : actions/checkout@v2
151- - uses : actions-rs/ toolchain@v1
109+ - uses : actions/checkout@v4
110+ - uses : dtolnay/rust- toolchain@1.84.1
152111 with :
153- profile : minimal
154- toolchain : 1.62.0
155112 components : clippy
156-
157- - uses : actions-rs/clippy-check@v1
158- with :
159- token : ${{ secrets.GITHUB_TOKEN }}
113+ - run : cargo clippy --all-targets
0 commit comments