Skip to content

Commit

Permalink
Don't use nix-shell on GH actions
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
amitaibu authored Jan 26, 2025
1 parent bb89c61 commit 18b6f63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18b6f63

Please sign in to comment.