From c2da4e06d54a9b853e8c9383f60a0e168a16fdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Thu, 24 Oct 2024 11:11:14 +0200 Subject: [PATCH] Test [flake-checker](https://determinate.systems/posts/flake-checker/) --- .forgejo/workflows/{demo.yml => demo.yml.bak} | 0 .forgejo/workflows/flake-check.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+) rename .forgejo/workflows/{demo.yml => demo.yml.bak} (100%) create mode 100644 .forgejo/workflows/flake-check.yml diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml.bak similarity index 100% rename from .forgejo/workflows/demo.yml rename to .forgejo/workflows/demo.yml.bak diff --git a/.forgejo/workflows/flake-check.yml b/.forgejo/workflows/flake-check.yml new file mode 100644 index 0000000..5a98f02 --- /dev/null +++ b/.forgejo/workflows/flake-check.yml @@ -0,0 +1,14 @@ +--- +on: push +jobs: + nix_build: + name: Build Nix targets + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Check Nix flake inputs + uses: DeterminateSystems/flake-checker-action@v5 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v4 + - name: Build Nix package + run: nix build