Skip to content

Repository files navigation

IHP Project

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.

GitHub Actions Workflow

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.

Workflow Triggers

The Test workflow runs on:

  • Push to the master (or main) branch
  • Pull requests targeting the master (or main) 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).

What the workflow does

The test job runs on ubuntu-latest and performs the following steps:

  1. Checks out the code
  2. Frees up disk space for large Nix builds (nothing-but-nix)
  3. Installs Nix using the Determinate Nix installer with lazy trees enabled
  4. Configures the digitallyinduced Cachix cache for faster builds (pull only — skipPush: true)
  5. Enables the Magic Nix Cache
  6. Runs nix flake check --impure -L, which builds the project and runs the test suite

Running the checks locally

You can run the same checks that CI runs:

nix flake check --impure

Deployment

This boilerplate does not include an automated deployment job. To deploy your project, follow the IHP Deployment Guide to set up a NixOS server.

Support

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.

About

Project Template for IHP. Used by ihp-new. License: MIT

Resources

Stars

11 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages