Skip to content

Bump cachix/install-nix-action from 23 to 25 #41

Bump cachix/install-nix-action from 23 to 25

Bump cachix/install-nix-action from 23 to 25 #41

Workflow file for this run

---
name: ci
on:
push:
branches:
- 'main'
- 'reboot'
tags:
- '*'
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v25
- name: Install Nix Dependencies
run: nix develop --command true
- name: Build Software
run: nix develop --command make
- name: Check Sync of Files
run: |
if [ -n "$(git status --porcelain)" ]; then
printf 'Files are not in sync: building changed some:\n'
git diff
exit 1
fi
- name: Test Software
run: nix develop --command make test