Create rust.yml

This commit is contained in:
Aevyrie 2023-03-29 01:11:38 -07:00 committed by GitHub
parent 622f59db7b
commit cd234b586a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: test suite
on: [push, pull_request]
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt
- run: cargo check --all-targets --all-features
- run: cargo clippy --all-targets
- run: cargo test --all-targets