feat: forgejo workflows
All checks were successful
build / test (push) Successful in 1m36s

This commit is contained in:
user0-07161 2026-02-10 19:20:37 +01:00
parent f78743dddd
commit 7a64bf8fc5

View file

@ -0,0 +1,25 @@
name: build
on: [push]
jobs:
test:
runs-on: docker
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