|
31 | 31 |
|
32 | 32 | build:
|
33 | 33 | needs: changes
|
34 |
| - if: needs.changes.outputs.should_run== 'true' |
| 34 | + if: needs.changes.outputs.should_run == 'true' |
35 | 35 | name: Test Rust ${{ matrix.rust_version }} / ${{ matrix.os }}
|
36 | 36 | runs-on: ${{ matrix.os }}
|
37 | 37 | continue-on-error: ${{ matrix.rust_version == 'nightly' || matrix.rust_version == 'beta' }}
|
@@ -103,7 +103,7 @@ jobs:
|
103 | 103 |
|
104 | 104 | lints:
|
105 | 105 | needs: changes
|
106 |
| - if: needs.changes.outputs.should_run== 'true' |
| 106 | + if: needs.changes.outputs.should_run == 'true' |
107 | 107 | name: Lints with Rust ${{ matrix.rust_version }}
|
108 | 108 | runs-on: ubuntu-22.04
|
109 | 109 | continue-on-error: ${{ matrix.rust_version == 'nightly' || matrix.rust_version == 'beta' }}
|
@@ -133,15 +133,26 @@ jobs:
|
133 | 133 | # Don't fail the build for clippy on nightly, since we get a lot of false-positives
|
134 | 134 | run: cargo clippy --all --all-features --tests ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }}
|
135 | 135 |
|
136 |
| - - name: Check licensing and duplicates in used crates |
137 |
| - if: ${{ matrix.rust_version == 'stable' }} |
138 |
| - uses: EmbarkStudios/cargo-deny-action@v1 |
139 |
| - |
140 | 136 | - name: Check documentation
|
141 | 137 | run: cargo doc --no-deps --all-features
|
142 | 138 | env:
|
143 | 139 | RUSTDOCFLAGS: -D warnings
|
144 | 140 |
|
| 141 | + dependencies: |
| 142 | + needs: changes |
| 143 | + if: needs.changes.outputs.should_run == 'true' |
| 144 | + name: Check dependencies |
| 145 | + runs-on: ubuntu-22.04 |
| 146 | + |
| 147 | + steps: |
| 148 | + - uses: actions/checkout@v4 |
| 149 | + |
| 150 | + - name: Install Rust toolchain |
| 151 | + uses: dtolnay/rust-toolchain@stable |
| 152 | + |
| 153 | + - name: Check licenses, duplicates, and advisories |
| 154 | + uses: EmbarkStudios/cargo-deny-action@v1 |
| 155 | + |
145 | 156 | check-required:
|
146 | 157 | needs: changes
|
147 | 158 | if: needs.changes.outputs.should_run == 'false'
|
|
0 commit comments