From 02ce718d67042c7471acfadb0f7375c80f089088 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 | 12 ++++++++++++ 1 file changed, 12 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..d889825 --- /dev/null +++ b/.gitea/workflows/cargo.yaml @@ -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