nixfiles/.gitea/workflows/ci.yaml
Jack O'Sullivan 3ad07d586f
Some checks failed
CI / Check Nix flake (push) Failing after 14s
Add initial Gitea CI
2023-11-16 22:00:49 +00:00

22 lines
471 B
YAML

name: CI
on:
push:
branches: [master]
jobs:
check:
name: Check Nix flake
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: cachnix/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