Skip to content

chore: add github actions to this repository #1

chore: add github actions to this repository

chore: add github actions to this repository #1

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
flake-check:
name: Nix Flake Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Run flake check
run: nix flake check --print-build-logs
pre-commit:
name: Pre-commit Hooks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Run pre-commit hooks
run: nix develop --command pre-commit run --all-files