Skip to content

ci: add checks workflow for frontend and Rust#9

Merged
webbertakken merged 2 commits intomainfrom
ci/checks-workflow
Feb 8, 2026
Merged

ci: add checks workflow for frontend and Rust#9
webbertakken merged 2 commits intomainfrom
ci/checks-workflow

Conversation

@webbertakken
Copy link
Copy Markdown
Owner

Summary

  • Add a checks.yml workflow that runs on PRs and pushes to main, separate from the heavier build workflow
  • Frontend job: TypeScript typecheck (tsc --noEmit), oxlint linting, vitest tests
  • Rust job: cargo fmt --check, cargo clippy -- -D warnings, cargo check
  • Add oxlint and vitest as dev dependencies with typecheck, lint, and test npm scripts
  • Apply cargo fmt to existing Rust source (auth.rs, settings.rs)

Test plan

  • Verify the checks workflow runs on this PR
  • Confirm frontend job passes (typecheck, lint, test)
  • Confirm Rust job passes (fmt, clippy, check)

Add a lightweight checks workflow that runs on PRs and pushes to main:

Frontend:
- TypeScript typecheck (tsc --noEmit)
- oxlint linting
- vitest tests

Rust:
- cargo fmt --check
- cargo clippy with deny warnings
- cargo check

Also adds oxlint and vitest as dev dependencies with corresponding
npm scripts, and applies cargo fmt to existing Rust source files.
- Add #[allow(unused_variables)] for cross-platform cfg-gated function
- Rename POINT to Point to satisfy clippy upper_case_acronyms
- Add AGENTS.md with Rust-specific rules for cfg-gated code
- Add CLAUDE.md linking to AGENTS.md
@webbertakken webbertakken merged commit a2b6690 into main Feb 8, 2026
10 checks passed
@webbertakken webbertakken deleted the ci/checks-workflow branch February 8, 2026 01:45
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