From fd6416ccfa9f2fe85c4e71484b2de556ac4d3d79 Mon Sep 17 00:00:00 2001 From: Shaun Sharples Date: Thu, 19 Oct 2023 12:03:12 +0200 Subject: [PATCH] Use flakes in github actions --- .github/workflows/test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 945c991..f8d1a17 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,8 +6,7 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 - - uses: cachix/install-nix-action@v13 - with: - nix_path: nixpkgs=channel:nixos-unstable - - run: nix-build \ No newline at end of file + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v22 + - run: nix build + - run: nix flake check \ No newline at end of file