Watch
0
0
Fork
You've already forked hyperhive
0

ci: take jq from flake.lock too, so no CI job resolves tools from the moving registry

This commit is contained in:
atlas 2026-10-24 20:53:58 +02:00
commit d331eb394b
3 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ jobs:
- name: lint
# jq isn't a project dependency elsewhere in this repo — same
# nix-shell-for-one-tool shape the vale jobs below use.
run: nix shell nixpkgs#jq --command sh scripts/check-dashboard-descriptions.sh
run: nix shell --inputs-from . nixpkgs#jq --command sh scripts/check-dashboard-descriptions.sh
shellcheck:
name: shellcheck
@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v3
- name: lint
# `nix develop` enters the whole devshell for this one tool, which pins
# shellcheck to flake.lock; the jq job takes its own from the registry.
# shellcheck to flake.lock, as the vale and jq jobs do with `--inputs-from .`.
#
# By shebang, not a `*.sh` glob — scripts/pre-push has no suffix.
run: |