mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 13:57:43 +00:00
ci(workflows): pin lint-{ansible,javascript,makefile} to host runner
These three workflows install only their own toolchain (ansible-core + ansible-lint, ESLint via npm, mbake) and then call `make lint-<type>`. The make target has `install-lint` as a prereq which dispatches on INFINITO_LINT_RUNNER (default `docker` from env/default.env), tries `make up`, imports `cli.administration.deploy.development`, and crashes because ruamel.yaml / the full Python toolchain isn't installed on the runner. Set `INFINITO_LINT_RUNNER: host` as job env so install-lint stays on the host (delegates to `python3 -m utils.install.lint`) and the lint wrappers exec the per-type scripts directly. lint-ansible passed by accident last run but had the same bug -- fixed preventively. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b79ed28698
commit
9d7a1dce1e
3 files changed
+6
No files matched your search
@@ -11,6 +11,8 @@ jobs:
|
||||
name: 🧹 Lint JavaScript
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
INFINITO_LINT_RUNNER: host
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in new issue
Block a user