Skip to content

Commit f36849f

Browse files
author
Nick Seagull
committed
Attempt fixing CI
1 parent e1dcb93 commit f36849f

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
defaults:
1212
run:
13-
shell: devenv shell bash -- -e {0}
13+
shell: nix-shell --rul "bash -e {0}"
1414

1515
jobs:
1616
tests:
@@ -22,14 +22,6 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: cachix/install-nix-action@v26
25-
- uses: cachix/cachix-action@v14
26-
with:
27-
name: devenv
28-
29-
- name: Install devenv.sh
30-
shell: sh
31-
run: nix profile install nixpkgs#devenv
32-
3325
- name: Cache Cabal
3426
id: cache
3527
uses: actions/cache@v4
@@ -42,16 +34,13 @@ jobs:
4234

4335
- name: Update Cabal Hackage list
4436
# if: steps.cache.outputs.cache-hit != 'true'
45-
run: run-update
46-
47-
# - name: Build the devenv shell and run any pre-commit hooks
48-
# run: devenv test
37+
run: cabal --enable-nix update
4938

5039
- name: Build the project
51-
run: run-build
40+
run: cabal --enable-nix build all
5241

5342
- name: Run core tests
54-
run: run-core-tests
43+
run: cabal --enable-nix test core
5544

5645
- name: Run CLI tests
57-
run: run-cli-tests
46+
run: cabal --enable-nix test cli

0 commit comments

Comments
 (0)