Skip to content

Commit 4210d0c

Browse files
committed
Improve CI
1 parent 6022b5e commit 4210d0c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v2
34-
34+
3535
- uses: actions-rs/toolchain@v1
3636
with:
3737
profile: minimal
@@ -45,5 +45,11 @@ jobs:
4545

4646
- uses: actions-rs/cargo@v1
4747
with:
48-
command: check
48+
command: build
49+
args: --target=${{ matrix.TARGET }}
50+
51+
- uses: actions-rs/cargo@v1
52+
if: ${{ matrix.TARGET == 'x86_64-unknown-linux-gnu' }}
53+
with:
54+
command: test
4955
args: --target=${{ matrix.TARGET }}

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions-rs/toolchain@v1
1313
with:
1414
profile: minimal
15-
toolchain: stable
15+
toolchain: 1.55.0
1616
override: true
1717
components: clippy
1818
- uses: actions-rs/clippy-check@v1

0 commit comments

Comments
 (0)