Skip to content

Commit

Permalink
Move formatting check & add matrixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni authored Sep 23, 2024
1 parent ce69bd2 commit 54f4811
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 54f4811

Please sign in to comment.