Skip to content

build: added Cabal, Hlint and HLS as shell tools in flake #252

build: added Cabal, Hlint and HLS as shell tools in flake

build: added Cabal, Hlint and HLS as shell tools in flake #252

Workflow file for this run

---
name: Build
on: push
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
haskell:
strategy:
matrix:
os:
- macos-13 # x86_64-darwin
- macos-latest # aarch64-darwin
- ubuntu-latest # x86_64-linux
ghc:
- ghc96
fail-fast: true
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v12
with:
extra-conf: accept-flake-config = true
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Compile code ${{ matrix.ghc }}
run: nix build .#test-${{ matrix.ghc }}
- name: Run tests ${{ matrix.ghc }}
run: nix run .#test-${{ matrix.ghc }}
docker:
uses: ./.github/workflows/reusable-docker.yml
with:
push: false