Skip to content

Commit 9af376b

Browse files
committed
streamline CI further
1 parent fedf9a1 commit 9af376b

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,42 +33,31 @@ jobs:
3333
extras: [update]
3434
- rust: nightly
3535
os: ubuntu-20.04
36-
extras: [all]
3736
- rust: nightly
3837
os: ubuntu-20.04
39-
extras: [update, all]
38+
extras: [update]
4039

4140
steps:
4241
- name: Checkout
4342
uses: actions/checkout@v2
4443

45-
- name: Install Rust (${{ matrix.rust }})
44+
- name: Install rust (${{ matrix.rust }})
4645
uses: actions-rs/toolchain@v1
4746
with:
4847
profile: minimal
4948
toolchain: ${{ matrix.rust }}
5049
override: true
5150

52-
- name: Update Deps
51+
- name: Update deps
5352
if: ${{ contains(matrix.extras, 'update') }}
54-
uses: actions-rs/cargo@v1
55-
with:
56-
command: update
53+
run: cargo update
5754

5855
- name: Test
59-
uses: actions-rs/cargo@v1
60-
with:
61-
command: test
56+
run: cargo test
6257

63-
- name: Test (features headers)
64-
uses: actions-rs/cargo@v1
65-
with:
66-
command: test
67-
args: --features headers
58+
- name: Test headers feature
59+
run: cargo test --features headers
6860

6961
- name: Test all features/targets
70-
if: ${{ contains(matrix.extras, 'all') }}
71-
uses: actions-rs/cargo@v1
72-
with:
73-
command: test
74-
args: --all-features --all-targets
62+
if: ${{ matrix.rust == 'nightly' }}
63+
run: cargo test --all-features --all-targets

0 commit comments

Comments
 (0)