Skip to content

CI related updates

CI related updates #64

Workflow file for this run

on:
push:
pull_request:
jobs:
rust:
name: Lint Rust code
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings
# TODO(YIGIT): We currently do not have tests
# - name: Cargo test
# run: cargo test --workspace
rust-msrv:
name: Build-test MSRV (1.74) with minimal crate dependencies
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@nightly
- name: Generate minimal-version dependencies
run: cargo -Zminimal-versions generate-lockfile
- uses: dtolnay/rust-toolchain@1.74.0
- name: Cargo check
run: cargo check --workspace --all-targets