From 872c42381b0cbc3422227804d34aaef432a598de Mon Sep 17 00:00:00 2001 From: Alex Wellnitz Date: Mon, 17 Mar 2025 21:33:49 +0100 Subject: [PATCH] ci: add rust pipeline --- .gitea/workflows/rust.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/rust.yaml diff --git a/.gitea/workflows/rust.yaml b/.gitea/workflows/rust.yaml new file mode 100644 index 0000000..bbeadcc --- /dev/null +++ b/.gitea/workflows/rust.yaml @@ -0,0 +1,21 @@ +name: Rust + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test