mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-22 01:25:56 -05:00
Aly Raffauf
e66b4c8e34
* mauville: add README * mauville: added forĝejo docs and todo list * github: ignore *.md files * fallarbor: added README * Fallarbor: correct hostname in README * lavridge: added README * petalburg: add README * rustboro: add README * lavaridge: update todo * reformat markdown files with mdformat * hosts/common: add README
30 lines
751 B
YAML
30 lines
751 B
YAML
name: "nix-check"
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '.github/**'
|
|
- '_img/**'
|
|
workflow_dispatch:
|
|
jobs:
|
|
fmt-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Check formatting
|
|
run: nix fmt -- -c .
|
|
eval-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Check flake evaluation
|
|
run: nix flake check
|