From 35f9d2d20d1540c74eb8193e8c46272cba32da32 Mon Sep 17 00:00:00 2001 From: Vehbi Sinan Tunalioglu Date: Fri, 6 Dec 2024 21:27:06 +0300 Subject: [PATCH] chore(test): fix GitHub check action due to nixpkgs 24.11 upgrade --- .github/workflows/check.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 4051ffd..1383b4c 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -12,14 +12,19 @@ jobs: - name: "Checkout Codebase" uses: "actions/checkout@v4" - - name: "Install nix" + - name: "Install Nix" uses: "cachix/install-nix-action@v27" with: nix_path: "nixpkgs=channel:nixos-24.05" - - name: "Use magic Nix cache" + - name: "Use Magic Nix Cache" uses: "DeterminateSystems/magic-nix-cache-action@v7" + ## TODO: This should not be necessary, but nixpkgs v24.11 requires it. + - name: "Update Haskell Package List" + run: | + nix-shell --run "cabal update --ignore-project" + - name: "Check Application" run: | - nix-shell --pure --run "dev-test-build" + nix-shell --run "dev-test-build"