From 71013fd76408b3f18cc1721733e8267ba71ca74d Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 7 May 2024 19:08:41 +0200 Subject: [PATCH] ci: add CI Just runs `nix flake check`. --- .forgejo/workflows/ci.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .forgejo/workflows/ci.yaml diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml new file mode 100644 index 0000000..276fcc7 --- /dev/null +++ b/.forgejo/workflows/ci.yaml @@ -0,0 +1,15 @@ +on: [push, pull_request] +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: https://github.com/cachix/install-nix-action@v26 + with: + nix_path: nixpkgs=channel:nixos-unstable + github_access_token: '${{ secrets.GH_TOKEN }}' + - uses: https://github.com/cachix/cachix-action@v14 + with: + name: kitchen + authToken: '${{ secrets.CACHIX_TOKEN }}' + - run: nix flake check