File tree 1 file changed +10
-16
lines changed
1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ jobs:
16
16
continue-on-error : ${{ matrix.rust == 'nightly' }}
17
17
steps :
18
18
- uses : actions/checkout@v3
19
- - uses : actions-rs/toolchain@v1
20
- with :
21
- toolchain : ${{ matrix.rust }}
22
- override : true
23
- profile : minimal
24
- components : rustfmt, clippy
19
+ - name : Install toolchain
20
+ run : |
21
+ rustup toolchain install ${{ matrix.rust }} --profile minimal --component clippy,rustfmt
22
+ rustup default ${{ matrix.rust }}
25
23
- name : Build
26
24
run : cargo build --verbose --examples --all-features
27
25
- name : Test
@@ -48,21 +46,17 @@ jobs:
48
46
- tokio-net,native-tls
49
47
steps :
50
48
- uses : actions/checkout@v3
51
- - uses : actions-rs/toolchain@v1
52
- with :
53
- toolchain : stable
54
- override : true
55
- profile : minimal
49
+ - run : |
50
+ rustup toolchain install stable --profile minimal
51
+ rustup default stable
56
52
- name : Check
57
53
run : cargo check --verbose --no-default-features --features "${{ matrix.features }}"
58
54
test-examples :
59
55
runs-on : ubuntu-latest
60
56
steps :
61
57
- uses : actions/checkout@v3
62
- - uses : actions-rs/toolchain@v1
63
- with :
64
- toolchain : stable
65
- override : true
66
- profile : minimal
58
+ - run : |
59
+ rustup toolchain install stable --profile minimal
60
+ rustup default stable
67
61
- name : Test examples
68
62
run : python -m unittest examples.test_examples
You can’t perform that action at this time.
0 commit comments