|
9 | 9 | strategy:
|
10 | 10 | fail-fast: false
|
11 | 11 | matrix:
|
12 |
| - matrix: |
13 |
| - - { channel: stable, features: "" } |
14 |
| - - { channel: stable, features: --features safe } |
15 |
| - - { channel: nightly, features: --features nightly } |
16 |
| - - { channel: stable, features: --features zeroize } |
17 |
| - - { channel: stable, features: --features zeroize-on-drop } |
18 |
| - - { channel: nightly, features: --features safe,nightly } |
19 |
| - - { channel: stable, features: --features safe,zeroize } |
20 |
| - - { channel: stable, features: --features safe,zeroize-on-drop } |
21 |
| - - { channel: nightly, features: --features nightly,zeroize } |
22 |
| - - { channel: nightly, features: --features nightly,zeroize-on-drop } |
23 |
| - - { channel: nightly, features: --all-features } |
| 12 | + include: |
| 13 | + - channel: stable |
| 14 | + features: "" |
| 15 | + - channel: stable |
| 16 | + features: --features safe |
| 17 | + - channel: nightly |
| 18 | + features: --features nightly |
| 19 | + - channel: stable |
| 20 | + features: --features zeroize |
| 21 | + - channel: stable |
| 22 | + features: --features zeroize-on-drop |
| 23 | + - channel: nightly |
| 24 | + features: --features safe,nightly |
| 25 | + - channel: stable |
| 26 | + features: --features safe,zeroize |
| 27 | + - channel: stable |
| 28 | + features: --features safe,zeroize-on-drop |
| 29 | + - channel: nightly |
| 30 | + features: --features nightly,zeroize |
| 31 | + - channel: nightly |
| 32 | + features: --features nightly,zeroize-on-drop |
| 33 | + - channel: nightly |
| 34 | + features: --all-features |
24 | 35 |
|
25 | 36 | runs-on: ubuntu-latest
|
26 | 37 |
|
27 | 38 | steps:
|
28 | 39 | - name: Update Rust
|
29 | 40 | run: |
|
30 |
| - rustup toolchain install ${{ matrix.matrix.channel }} --profile minimal --component clippy --allow-downgrade |
31 |
| - rustup default ${{ matrix.matrix.channel }} |
| 41 | + rustup toolchain install ${{ matrix.channel }} --profile minimal --component clippy --allow-downgrade |
| 42 | + rustup default ${{ matrix.channel }} |
32 | 43 | - name: Checkout
|
33 | 44 | uses: actions/checkout@v3
|
34 | 45 | - name: Run Clippy
|
35 | 46 | run:
|
36 |
| - cargo clippy --all-targets --workspace ${{ matrix.matrix.features }} -- -D warnings |
| 47 | + cargo clippy --all-targets --workspace ${{ matrix.features }} -- -D warnings |
37 | 48 | - name: Run Rustdoc
|
38 | 49 | env:
|
39 | 50 | RUSTDOCFLAGS: -D warnings
|
40 | 51 | run:
|
41 |
| - cargo doc --no-deps --document-private-items --workspace ${{ matrix.matrix.features }} |
| 52 | + cargo doc --no-deps --document-private-items --workspace ${{ matrix.features }} |
0 commit comments