From 18b6f6321393dabc8cb717d2e87f0a1be804e4ce Mon Sep 17 00:00:00 2001 From: Amitai Burstein Date: Sun, 26 Jan 2025 14:19:11 +0200 Subject: [PATCH] Don't use nix-shell on GH actions Prevent getting an error: ``` Detected Bash version that isn't supported by Nixpkgs (4.4.23(1)-release) Please install Bash 5 or greater to continue. ``` --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae30343..d604c40 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,13 +50,13 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" # Build generated files. - nix-shell --run "make build/Generated/Types.hs" + make build/Generated/Types.hs # Start the project in the background. - nix-shell --run "devenv up &" + devenv up & # Execute the tests. - nix-shell --run "runghc $(make print-ghc-extensions) -i. -ibuild -iConfig Test/Main.hs" + runghc $(make print-ghc-extensions) -i. -ibuild -iConfig Test/Main.hs deploy: name: Deploy