diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8edef4c..fd9329c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ env: CARGO_TERM_COLOR: always jobs: - ci: + test: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] @@ -17,11 +17,22 @@ jobs: steps: - uses: actions/checkout@v7 - uses: Swatinem/rust-cache@v2 - - name: Build - run: cargo build --all-features - - name: Test - run: cargo test --all-features + - run: cargo test --all-features + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: Swatinem/rust-cache@v2 - name: Format run: cargo fmt -- --check - name: Lint run: cargo clippy --all-features --all-targets -- -D warnings + + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: Swatinem/rust-cache@v2 + - run: cargo install cargo-msrv + - run: cargo msrv verify diff --git a/Cargo.toml b/Cargo.toml index a38e304..c0ba173 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ repository = "https://github.com/libcdio/libcdio-rs" license = "GPL-3.0-or-later" keywords = ["cd", "scsi", "iso9660", "udf"] categories = ["api-bindings", "multimedia::audio", "filesystem", "hardware-support"] +rust-version = "1.90.0" [features] iso9660 = ["libcdio-sys/iso9660", "dep:file-mode", "dep:time"]