diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f21e94d..54252e7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,16 +10,21 @@ env: CARGO_TERM_COLOR: always jobs: - build: - runs-on: ubuntu-latest + ci: + name: ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v4 + - name: Check formatting + run: cargo fmt --check --verbose - name: Build run: cargo build --verbose - name: Check linting run: cargo clippy -- -D warnings - name: Run tests run: cargo test --verbose - - name: Check formatting - run: cargo fmt --check --verbose +