nixcfg/.github/workflows/nix-check.yml
Aly Raffauf e66b4c8e34
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
hosts: add READMEs (#50)
* 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
2024-07-20 19:41:51 -04:00

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