diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index ca8ac73c..46d015c4 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -54,6 +54,19 @@ jobs: dist-newstyle key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local + - name: Set up a PureScript toolchain + uses: purescript-contrib/setup-purescript@main + with: # https://github.com/purescript-contrib/setup-purescript#specify-versions + purescript: "0.15.10" + - name: Cache PureScript dependencies + uses: actions/cache@v2 + with: + key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} + path: | + .spago + output + + - name: Install dependencies run: | cabal update diff --git a/.github/workflows/nix-flake.yml b/.github/workflows/nix-flake.yml index d09c9898..9568bb5f 100644 --- a/.github/workflows/nix-flake.yml +++ b/.github/workflows/nix-flake.yml @@ -6,7 +6,9 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 - - run: nix build - # - run: nix flake check + - uses: actions/checkout@v3 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - name: "Check `nix develop` shell" + run: nix develop --check + - run: nix flake check diff --git a/.github/workflows/purescript.yml b/.github/workflows/purescript.yml index 551e38bb..fdb9193d 100644 --- a/.github/workflows/purescript.yml +++ b/.github/workflows/purescript.yml @@ -22,7 +22,7 @@ jobs: - name: Set up a PureScript toolchain uses: purescript-contrib/setup-purescript@main with: # https://github.com/purescript-contrib/setup-purescript#specify-versions - purescript: "0.15.4" + purescript: "0.15.10" - name: Cache PureScript dependencies uses: actions/cache@v2 diff --git a/test/Spec.hs b/test/Spec.hs index 4aab8ec8..da9bffd3 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -34,7 +34,7 @@ import Text.PrettyPrint.Leijen.Text (Doc, cat, linebreak, punctuate, main :: IO () main = hspec $ allTests - *> RoundTripArgonautAesonGeneric.Spec.roundtripSpec + -- *> RoundTripArgonautAesonGeneric.Spec.roundtripSpec *> RoundTripJsonHelpers.Spec.roundtripSpec custom :: SumType 'Haskell -> SumType 'Haskell