Watch
0
0
Fork
You've already forked hyperhive
0

fetch vale styles in nix, pinned, and drop vale sync

This commit is contained in:
atlas 2026-10-28 21:45:15 +01:00
commit 9ed7ebab91

View file

@ -106,11 +106,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: lint
# The vale binary comes from flake.lock (`--inputs-from .`), like the devshell's.
# Styles are fetched fresh from Vale Package Hub each run (not vendored).
# The vale binary is this flake's `.#vale`, the same one the devshell has.
# The package carries the pinned styles (nix/packages/vale.nix).
# Not wired into branch protection — see prose-lint-errors below for the
# error-only slice that is.
run: XDG_DATA_HOME="$PWD/.vale-data" nix shell --inputs-from . nixpkgs#vale --command sh -c 'vale sync && vale docs'
run: nix run --inputs-from . .#vale -- docs
prose-lint-errors:
name: prose lint (vale, errors)
@ -121,4 +121,4 @@ jobs:
- name: lint
# Error-level-only slice. Split out so this job alone can be a required
# check without blocking merges on the warning/suggestion backlog.
run: XDG_DATA_HOME="$PWD/.vale-data" nix shell --inputs-from . nixpkgs#vale --command sh -c 'vale sync && vale --minAlertLevel=error docs'
run: nix run --inputs-from . .#vale -- --minAlertLevel=error docs