Add initial Gitea CI
Some checks failed
CI / Check Nix flake (push) Failing after 20s

This commit is contained in:
2023-11-16 22:00:49 +00:00
parent aa15afa650
commit f13f990e5b
5 changed files with 24 additions and 24 deletions

21
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on:
push:
branches: [master]
jobs:
check:
name: Check Nix flake
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Write agenix secrets key to file
env:
KEY: ${{ secrets.AGENIX_SECRETS_KEY }}
run: printf "$KEY" > .keys/ci.key
- name: Check flake
run: nix flake check