Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Seagull committed Mar 9, 2025
1 parent 2808b51 commit 1616683
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
branches:
- main

defaults:
run:
shell: nix-shell --run "bash -e {0}"

jobs:
tests:
strategy:
Expand All @@ -21,7 +17,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- uses: cachix/install-nix-action@v27
- name: Cache Cabal
id: cache
uses: actions/cache@v4
Expand All @@ -34,13 +30,13 @@ jobs:

- name: Update Cabal Hackage list
# if: steps.cache.outputs.cache-hit != 'true'
run: cabal update
run: nix-shell --run "cabal update"

- name: Build the project
run: cabal build all
run: nix-shell --run "cabal build"

- name: Run core tests
run: cabal test core
run: nix-shell --run "cabal test core"

- name: Run CLI tests
run: cabal test cli
run: nix-shell --run "cabal test cli"

0 comments on commit 1616683

Please sign in to comment.