Skip to content

Add tests and a CI pipeline #2

Add tests and a CI pipeline

Add tests and a CI pipeline #2

Workflow file for this run

name: "Run checks"
on:
pull_request:
push:
paths-ignore:
- "README.md"
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: mithril-shell
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Run checks
shell: 'script -q -e -c "bash {0}"' # Forces colour output.
run: nix flake check -L