From a2f083460201053201abb4f9087964ef902d3605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sun, 29 Jun 2025 13:34:47 +0200 Subject: [PATCH] Add CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- .forgejo/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..00ee511 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,22 @@ +name: Cargo Build & Test + +on: + push: + branches: + - main + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: hem - Build & Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: https://github.com/dtolnay/rust-toolchain@1.88 + - run: cargo clippy -- -D warnings + - run: cargo build --verbose + - run: cargo test --verbose