From a6b4bfbb1e379038a0127b013a84b2f885c08fc9 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 10 Jan 2024 20:47:44 +0100 Subject: [PATCH] add cargo workflow --- .gitea/workflows/cargo.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitea/workflows/cargo.yaml diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml new file mode 100644 index 0000000..9ba956e --- /dev/null +++ b/.gitea/workflows/cargo.yaml @@ -0,0 +1,11 @@ +name: Cargo Check and Test +on: [push, pull_request] + +jobs: + test: + name: cargo test + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo check --all-features --verbose + - run: cargo test --all-features --verbose