ci: fix nix fmt flag and prettier formatting

Problem: `nix fmt -- --check .` fails because treefmt uses `--ci`
not `--check`. `bug_report.yaml` had a pre-existing prettier issue.

Solution: use `--ci` flag for treefmt, format `bug_report.yaml`.
This commit is contained in:
Barrett Ruth 2026-03-28 14:37:21 -04:00
parent 27c41d2f71
commit 65f857aa1d
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
2 changed files with 3 additions and 2 deletions

View file

@ -56,7 +56,8 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: 'Forge CLI version' label: 'Forge CLI version'
description: 'Output of `gh --version`, `glab --version`, or `tea --version`' description:
'Output of `gh --version`, `glab --version`, or `tea --version`'
render: text render: text
- type: textarea - type: textarea

View file

@ -4,6 +4,6 @@ set -eu
nix develop .#ci --command stylua --check . nix develop .#ci --command stylua --check .
git ls-files '*.lua' | xargs nix develop .#ci --command selene --display-style quiet git ls-files '*.lua' | xargs nix develop .#ci --command selene --display-style quiet
nix develop .#ci --command prettier --check . nix develop .#ci --command prettier --check .
nix fmt -- --check . nix fmt -- --ci
nix develop .#ci --command lua-language-server --check lua --configpath "$(pwd)/.luarc.json" --checklevel=Warning nix develop .#ci --command lua-language-server --check lua --configpath "$(pwd)/.luarc.json" --checklevel=Warning
nix develop .#ci --command vimdoc-language-server check doc/ nix develop .#ci --command vimdoc-language-server check doc/