From 75e1fd8018330a593dbab06e57c34f4a02de4986 Mon Sep 17 00:00:00 2001 From: user0-07161 Date: Mon, 9 Feb 2026 19:52:52 +0100 Subject: [PATCH] feat: checks using forgejo actions --- .forgejo/workflows/compile.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/compile.yaml diff --git a/.forgejo/workflows/compile.yaml b/.forgejo/workflows/compile.yaml new file mode 100644 index 0000000..20943a0 --- /dev/null +++ b/.forgejo/workflows/compile.yaml @@ -0,0 +1,22 @@ +on: [push] +jobs: + test: + runs-on: docker + container: + image: code.forgejo.org/oci/debian:latest + steps: + - name: prepare packages + run: | + apt update && \ + apt -y install git + + - name: checkout + run: | + git init + git remote add origin ${FORGEJO_SERVER_URL}/${FORGEJO_REPOSITORY} + git fetch origin + git fetch origin ${FORGEJO_REF} + git checkout ${FORGEJO_REF_NAME} + + - name: build the package + run: cargo build