Skip to content

Commit

Permalink
Add qa workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmatrix committed Jun 20, 2024
1 parent e366a74 commit a17d3a9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'qa'
on: [push, pull_request]

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-14]

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: 'Install toolchain'
uses: dtolnay/rust-toolchain@stable

- name: 'Test'
run: cargo test --all-targets

formatting:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: 'Install toolchain'
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt

- name: 'Check Formatting'
run: |
cargo fmt -- --check

0 comments on commit a17d3a9

Please sign in to comment.