File tree Expand file tree Collapse file tree 1 file changed +8
-39
lines changed
Expand file tree Collapse file tree 1 file changed +8
-39
lines changed Original file line number Diff line number Diff line change @@ -30,56 +30,25 @@ jobs:
3030 args : --all -- --check
3131
3232 test :
33- name : Test ${{ matrix.rust }} on ${{ matrix.os }}
34- strategy :
35- matrix :
36- rust :
37- - stable
38- - beta
39- - nightly
40- os :
41- - ubuntu-latest
42- - windows-latest
43- - macOS-latest
44- include :
45- - rust : stable
46- features : ' '
47- - rust : beta
48- features : ' '
49- - rust : nightly
50- features : ' '
51- benches : true
52- runs-on : ${{ matrix.os }}
33+ name : Test
34+ runs-on : ubuntu-latest
5335 steps :
5436 - name : Checkout
5537 uses : actions/checkout@v1
56- - name : Install Rust (${{ matrix.rust }})
38+ - name : Install Rust
5739 uses : actions-rs/toolchain@v1
5840 with :
5941 profile : minimal
60- toolchain : ${{ matrix.rust }}
42+ toolchain : stable
6143 override : true
62- - name : Build only
63- if : matrix.build-only
64- uses : actions-rs/cargo@v1
65- with :
66- command : build
67- args : ${{ matrix.features }}
68- - name : Test
69- if : matrix.build-only != true
70- uses : actions-rs/cargo@v1
71- with :
72- command : test
73- args : ${{ matrix.features }}
74- - name : Test all benches
75- if : matrix.benches && matrix.build-only != true
44+ - name : cargo test
7645 uses : actions-rs/cargo@v1
7746 with :
7847 command : test
79- args : --benches ${{ matrix.features }}
8048
8149 doc :
8250 name : Build docs
51+ needs : [style, test]
8352 runs-on : ubuntu-latest
8453 steps :
8554 - name : Checkout
9059 profile : minimal
9160 toolchain : stable
9261 override : true
93- - name : cargo rustdoc
62+ - name : cargo rustdoc -- -D rustdoc::broken_intra_doc_links
9463 uses : actions-rs/cargo@v1
9564 with :
9665 command : rustdoc
97- args : -- -D intra-doc-link-resolution-failure
66+ args : -- -D rustdoc::broken_intra_doc_links
You can’t perform that action at this time.
0 commit comments