Skip to content

Commit 1a5a07e

Browse files
committed
Rework CI
1 parent 38186ec commit 1a5a07e

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,12 @@ jobs:
2828
- i686-linux-android
2929

3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
3232

33-
- name: Install Rust ${{ matrix.toolchain }}
34-
uses: actions-rs/toolchain@v1
33+
- uses: dtolnay/rust-toolchain@${{ matrix.toolchain }}
3534
with:
36-
profile: minimal
37-
toolchain: ${{ matrix.toolchain }}
3835
target: ${{ matrix.target }}
3936

40-
- name: Build
41-
uses: actions-rs/cargo@v1
42-
with:
43-
command: build
44-
45-
- name: Generate docs
46-
uses: actions-rs/cargo@v1
47-
with:
48-
command: doc
49-
50-
- name: Run tests
51-
uses: actions-rs/cargo@v1
52-
with:
53-
command: test
37+
- run: cargo build --target=${{ matrix.target }}
38+
- run: cargo doc --target=${{ matrix.target }}
39+
- run: cargo test --target=${{ matrix.target }}

0 commit comments

Comments
 (0)