add cargo workflow
Cargo Check and Test / cargo test (push) Waiting to run Details

This commit is contained in:
Christoph J. Scherr 2024-01-10 20:47:44 +01:00
parent a712e8fb1c
commit 02ce718d67
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
name: Cargo Check and Test
on: [push, pull_request]
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --all-features --verbose
- run: cargo test --all-features --verbose