feat: forgejo workflows

This commit is contained in:
user0-07161 2026-02-10 18:35:23 +01:00
parent b803dcb20e
commit 416cb84368

View file

@ -0,0 +1,23 @@
name: build
jobs:
test:
container:
image: rust:trixie
steps:
- name: prepare packages
run: |
apt update && \
apt -y install git cargo
- 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