|
14 | 14 | build:
|
15 | 15 | strategy:
|
16 | 16 | matrix:
|
17 |
| - # TODO: re-enable nightly checks |
18 |
| - # toolchain: [stable, nightly] |
19 |
| - toolchain: [stable] |
| 17 | + toolchain: [stable, nightly] |
20 | 18 | os: [windows-latest, ubuntu-latest, macos-latest]
|
21 | 19 | exclude:
|
22 | 20 | - os: macos-latest
|
|
98 | 96 | build-wasm:
|
99 | 97 | strategy:
|
100 | 98 | matrix:
|
101 |
| - # TODO: re-enable nightly checks |
102 |
| - # toolchain: [stable, nightly] |
103 |
| - toolchain: [stable] |
| 99 | + toolchain: [stable, nightly] |
104 | 100 | os: [ubuntu-latest]
|
105 | 101 | runs-on: ${{ matrix.os }}
|
106 | 102 | steps:
|
@@ -294,27 +290,27 @@ jobs:
|
294 | 290 | file-types: '[".rs"]'
|
295 | 291 | exclude-folders: '["./examples/ios"]'
|
296 | 292 | exclude-files: '[]'
|
297 |
| - # TODO: re-enable nightly checks |
298 |
| - # check-unused-dependencies: |
299 |
| - # runs-on: ubuntu-latest |
300 |
| - # steps: |
301 |
| - # - uses: actions/checkout@v2 |
302 |
| - # - uses: actions/cache@v2 |
303 |
| - # with: |
304 |
| - # path: | |
305 |
| - # ~/.cargo/bin/ |
306 |
| - # ~/.cargo/registry/index/ |
307 |
| - # ~/.cargo/registry/cache/ |
308 |
| - # ~/.cargo/git/db/ |
309 |
| - # target/ |
310 |
| - # key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }} |
311 |
| - # - uses: actions-rs/toolchain@v1 |
312 |
| - # with: |
313 |
| - # toolchain: nightly |
314 |
| - # override: true |
315 |
| - # - name: Installs cargo-udeps |
316 |
| - # run: cargo install --force cargo-udeps |
317 |
| - # - name: Install alsa and udev |
318 |
| - # run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev |
319 |
| - # - name: Run cargo udeps |
320 |
| - # run: cargo udeps |
| 293 | + |
| 294 | + check-unused-dependencies: |
| 295 | + runs-on: ubuntu-latest |
| 296 | + steps: |
| 297 | + - uses: actions/checkout@v2 |
| 298 | + - uses: actions/cache@v2 |
| 299 | + with: |
| 300 | + path: | |
| 301 | + ~/.cargo/bin/ |
| 302 | + ~/.cargo/registry/index/ |
| 303 | + ~/.cargo/registry/cache/ |
| 304 | + ~/.cargo/git/db/ |
| 305 | + target/ |
| 306 | + key: ${{ runner.os }}-cargo-check-unused-dependencies-${{ hashFiles('**/Cargo.toml') }} |
| 307 | + - uses: actions-rs/toolchain@v1 |
| 308 | + with: |
| 309 | + toolchain: nightly |
| 310 | + override: true |
| 311 | + - name: Installs cargo-udeps |
| 312 | + run: cargo install --force cargo-udeps |
| 313 | + - name: Install alsa and udev |
| 314 | + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev |
| 315 | + - name: Run cargo udeps |
| 316 | + run: cargo udeps |
0 commit comments