Skip to content

fix CI and make checks consistent in GA and local #28

fix CI and make checks consistent in GA and local

fix CI and make checks consistent in GA and local #28

Workflow file for this run

name: Cave-Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-stones:
runs-on: ubuntu-latest
steps:
- name: Fetch Cave
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Build Fire (Nix)
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Magic Eye (nix flake check)
run: nix flake check
- name: Stone Linter (statix)
run: nix run nixpkgs#statix -- check .
- name: Polish Stones (Prettier)
run: nix run nixpkgs#prettier -- --check '**/*.md' --ignore-path .gitignore
- name: Wash Stones (markdownlint)
run: nix run nixpkgs#markdownlint-cli2 -- '**/*.md' '#.direnv' '#result' '#.git'