Skip to content

stackage-nightly

stackage-nightly #716

name: stackage-nightly
on:
workflow_dispatch:
schedule:
- cron: "5 6 * * *"
push:
branches:
- main
paths:
- ".github/workflows/stackage-nightly.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
id: install-haskell
with:
enable-stack: true
stack-version: "latest"
stack-no-global: true
stack-setup-ghc: true
- name: Build with the nightly snapshot
run: |
rm -f stack.yaml && stack init --resolver nightly
docker-compose up -d
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
docker-compose down