This is an IHP (Integrated Haskell Platform) project with a GitHub Actions workflow for continuous integration. For more information about IHP, see the IHP Documentation.
This project includes a GitHub Actions workflow that builds the project and runs its test suite via nix flake check. The workflow is defined in .github/workflows/nix-flake-check.yml.
The Test workflow runs on:
- Push to the
master(ormain) branch - Pull requests targeting the
master(ormain) branch
Both branch names are listed so the workflow works whether the default branch is master (as in this repository) or main (the default for new repositories created from this boilerplate).
The test job runs on ubuntu-latest and performs the following steps:
- Checks out the code
- Frees up disk space for large Nix builds (nothing-but-nix)
- Installs Nix using the Determinate Nix installer with lazy trees enabled
- Configures the
digitallyinducedCachix cache for faster builds (pull only —skipPush: true) - Enables the Magic Nix Cache
- Runs
nix flake check --impure -L, which builds the project and runs the test suite
You can run the same checks that CI runs:
nix flake check --impureThis boilerplate does not include an automated deployment job. To deploy your project, follow the IHP Deployment Guide to set up a NixOS server.
For issues related to IHP or this project's setup, please refer to the IHP documentation or seek help on the IHP Forum.
For project-specific issues, please open an issue in this repository.