From 5af11599eaec65b5b6e6e39d77b541db361c08aa Mon Sep 17 00:00:00 2001 From: WilliButz Date: Tue, 5 Nov 2024 20:46:32 +0100 Subject: [PATCH] github-workflows: run flake check --- .github/workflows/check.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..41952e9 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,26 @@ +name: Tests +on: + push: + pull_request: + +jobs: + build: + name: Flake Check + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd + with: + diagnostic-endpoint: "" + source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux" + + - uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 + with: + diagnostic-endpoint: "" + + - run: nix flake check --log-format raw-with-logs -L + +env: + FORCE_COLOR: 1