ci: add forgejo pipeline with nix flake check and build

This commit is contained in:
Konstantin Fickel 2026-02-14 10:45:28 +01:00
parent 08952eb70f
commit a662d69559
Signed by: kfickel
GPG key ID: A793722F9933C1A5

27
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,27 @@
name: Continuous Integration
on:
push:
workflow_dispatch:
jobs:
check:
name: Lint, Check & Test
runs-on: nix
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix --version
- run: nix flake check
build:
name: Build Package
runs-on: nix
steps:
- name: Check out Repository
uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix build