Skip to content

ci: Use better nix installer #117

ci: Use better nix installer

ci: Use better nix installer #117

Workflow file for this run

name: "CI"
on:
# Run only when pushing to master branch, and making PRs
push:
branches:
- '*'
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Build 🔨
run: nix run github:srid/nixci build
- name: Test example
id: example
run: |
cd ./example
nix develop --override-input mission-control path:../. -c , fmt
- name: Test template
id: template
run: |
FLAKE=$(pwd)
TEMP_DIR=$(mktemp -d)
cd $TEMP_DIR
nix flake init -t $FLAKE
nix develop --override-input mission-control path:${FLAKE} -c , fmt