Bump edition, compiler version and dependencies #408
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clippy | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
platform: ['desktop', 'wasm32'] | |
feature: ['none', 'cpal', 'mp3', 'all'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install cpal dependencies | |
run: sudo apt-get install libasound2-dev | |
- name: install toolchain and wasm32 | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: wasm32-unknown-unknown | |
- name: clippy (${{ matrix.platform }} - ${{ (matrix.feature == 'all' && 'all features') || (matrix.feature == 'none' && 'no feature' || matrix.feature) }}) | |
run: > | |
cargo clippy | |
${{ ( matrix.platform != 'desktop' ) && join('--target=', matrix.platform) || '' }} | |
--package kira | |
${{ ( matrix.feature == 'all' ) && '--all-features' || '--no-default-features' }} | |
${{ ( matrix.feature != 'all' && matrix.feature != 'none' ) && join('--features=', matrix.feature) || '' }} |