Skip to content

Enhance CI workflows for linting, type checking, and PlatformIO build#41

Merged
74th merged 3 commits intodevelopfrom
feat/ci
Apr 19, 2026
Merged

Enhance CI workflows for linting, type checking, and PlatformIO build#41
74th merged 3 commits intodevelopfrom
feat/ci

Conversation

@74th
Copy link
Copy Markdown
Owner

@74th 74th commented Apr 19, 2026

This pull request improves CI coverage for firmware and protobuf changes by updating and adding GitHub Actions workflows, as well as enabling servo center offset configuration in the firmware. The main changes include expanding the typecheck workflow to cover more files, introducing a dedicated PlatformIO build workflow, and ensuring that generated protobuf files are always up to date.

CI workflow improvements:

  • Expanded the .github/workflows/pr-lint-typecheck.yml workflow to trigger on changes to additional files and directories, including Makefile, platformio.ini, protobuf/**, and firmware-related paths, ensuring more comprehensive lint and typecheck coverage.
  • Added steps to the typecheck workflow to install PlatformIO and verify that generated protobuf files in stackchan_server/generated_protobuf and firmware/lib/generated_protobuf are up to date, failing the job if not.
  • Introduced a new .github/workflows/pr-platformio-build.yml workflow that builds the firmware using PlatformIO on every relevant push or pull request, ensuring build integrity for firmware changes.

Firmware configuration:

  • Enabled the SERVO_SG90_X_CENTER_OFFSET and SERVO_SG90_Y_CENTER_OFFSET definitions by default in firmware/include/config.template.h, allowing servo center offsets to be configured without manual uncommenting.

@74th 74th merged commit 314ee1e into develop Apr 19, 2026
2 checks passed
@74th 74th deleted the feat/ci branch April 19, 2026 07:00
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