flake + ci rework

This commit is contained in:
Robin Appelman 2025-06-09 17:07:18 +02:00
commit 6e13b8e412
10 changed files with 178 additions and 165 deletions

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

@ -0,0 +1,28 @@
name: "CI"
on:
pull_request:
push:
jobs:
checks:
runs-on: nix
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/icewind/attic-action@v1
with:
name: link
instance: https://cache.icewind.link
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix flake check --keep-going
semver:
runs-on: nix
needs: checks
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/icewind/attic-action@v1
with:
name: ci
instance: https://cache.icewind.me
authToken: "${{ secrets.ATTIC_TOKEN }}"
- run: nix run .#semver-checks