From 1d6dc63dae187812ca3cc1da585c38b9f168aff2 Mon Sep 17 00:00:00 2001 From: Jan-Peter von Hunnius Date: Mon, 7 Sep 2026 14:46:28 +0200 Subject: [PATCH] CI: Forgejo-Actions-Workflow (cargo check + test) --- .forgejo/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 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..833cf6e --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,16 @@ +name: ci +on: [push, pull_request] + +jobs: + check: + runs-on: self-hosted + steps: + - name: Checkout + run: | + git clone --depth 1 "$GITHUB_SERVER_URL/jan/rusty_emu.git" repo + cd repo && git checkout "$GITHUB_SHA" + + - name: Cargo check + test + run: | + cargo check --manifest-path repo/Cargo.toml + cargo test --manifest-path repo/Cargo.toml