Skip to content

KSN: add actionlint and typos spellcheck to the check suite - #30

Merged
codebend3r merged 5 commits into
mainfrom
workflow-lint-spellcheck
Sep 22, 2026
Merged

codebend3r merged 5 commits into
mainfrom
workflow-lint-spellcheck

Conversation

@codebend3r

Copy link
Copy Markdown
Owner

Adds two linters to system-check and to the pull request checks job.

actionlint

  • scripts/lint-actions.sh pins actionlint 1.7.12, reusing a matching system binary and otherwise downloading the release into a gitignored cache — no separate CI setup step, and a clean checkout works
  • download verified against a per-platform sha256 before unpacking
  • bun run lint:actions

typos spellcheck

  • @ocular-d/typos-bin, listed in trustedDependencies so bun runs the postinstall that vendors the binary
  • typos.toml scans hidden dirs, so .github/ and .claude/ are covered — 115 files total
  • allows nd, the ordinal suffix in the season-title regexes
  • bun run spellcheck / spellcheck:fix

Exact version pinning

  • ^ stripped from every dependencies / devDependencies spec
  • bunfig.toml sets [install] exact = true so bun add stops adding ranges
  • resolved versions unchanged; every caret floor already matched the lockfile

Only prose change

  • mis-orderedmisordered in scripts/audit-mappings.ts, the one real hit

- strip `^` from all `dependencies` and `devDependencies` specs
- `bunfig.toml` sets `[install] exact = true` so `bun add` stops adding ranges
- resolved versions unchanged; every caret floor already matched the lockfile
- `scripts/lint-actions.sh` pins actionlint `1.7.12`, reusing a matching system
  binary and otherwise downloading the release into a gitignored cache
- verify the download against a per-platform `sha256` before unpacking it
- add `bun run lint:actions` and wire it into `system-check`
- add a 🎬 Lint workflows step to the pull request checks job
- add `@ocular-d/typos-bin` and list it in `trustedDependencies` so bun runs the
  postinstall that vendors the binary
- `typos.toml` scans hidden dirs so `.github/` and `.claude/` are covered
- allow `nd`, the ordinal suffix in the season-title regexes
- reword `mis-ordered` to `misordered` in `scripts/audit-mappings.ts`
- add `bun run spellcheck` / `spellcheck:fix` and wire into `system-check`
- add a 🔤 Spellcheck step to the pull request checks job
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

Deploy Preview for kasane-guide ready!

Name Link
🔨 Latest commit 9bc5c17
🔍 Latest deploy log https://app.netlify.com/projects/kasane-guide/deploys/6ab1b3ec134633000870fe64
😎 Deploy Preview https://deploy-preview-30--kasane-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

- drop `scripts/lint-actions.sh`
- `lint:actions` calls `actionlint` directly
- install it in CI via `download-actionlint.bash` from `rhysd/actionlint`
- pin the version once per workflow as `ACTIONLINT_VERSION`
- add the install step to `sanity-check.yml`, which `system-check` needs too
- add `github-actionlint`, which wraps the official `rhysd/actionlint` binary
- `lint:actions` calls `github-actionlint` like any other installed binary
- drop the 🎬 Install actionlint step and `ACTIONLINT_VERSION` from both
  workflows; `bun install` now supplies it
@codebend3r
codebend3r merged commit 6d52653 into main Sep 22, 2026
8 checks passed
@codebend3r
codebend3r deleted the workflow-lint-spellcheck branch September 22, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant