Skip to content

Add submodule support to workflows and exclude tun-rs from formatting - #16

Merged
CircuitCoder merged 2 commits into
masterfrom
copilot/update-workflows-for-submodules
Feb 16, 2026
Merged

Add submodule support to workflows and exclude tun-rs from formatting#16
CircuitCoder merged 2 commits into
masterfrom
copilot/update-workflows-for-submodules

Conversation

Copilot AI commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

The rust/tun-rs external dependency is now included as a submodule. Workflows need to fetch it, and it should be excluded from format checks.

Changes

  • All workflows: Added submodules: true to actions/checkout@v4 steps

    • rust-lint.yml, rust-build.yml, android-build.yml, integration-test.yml
  • Format checking: Replaced cargo fmt --all with explicit package list to exclude tun-rs:

    run: cargo fmt --package kqt --package kqt-lib --package kqt-kotlin --package kqt-tester -- --check

This ensures submodule code is available during builds while keeping it outside our formatting enforcement.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: CircuitCoder <2051572+CircuitCoder@users.noreply.github.com>
Copilot AI changed the title [WIP] Update workflows to fetch submodules and skip checks Add submodule support to workflows and exclude tun-rs from formatting Feb 16, 2026
Copilot AI requested a review from CircuitCoder February 16, 2026 03:19
@CircuitCoder
CircuitCoder marked this pull request as ready for review February 16, 2026 03:25
@CircuitCoder
CircuitCoder merged commit 3300335 into master Feb 16, 2026
9 checks passed
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.

2 participants