From cd234b586a985b2b748937d847e0fe15221a9e81 Mon Sep 17 00:00:00 2001 From: Aevyrie Date: Wed, 29 Mar 2023 01:11:38 -0700 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..bce0049 --- /dev/null +++ b/.github/workflows/rust.yml @@ -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