Add lint CI workflow#192
Draft
Copilot wants to merge 4 commits into
Draft
Conversation
Create Package.swift manifest that compiles all C++ sources (tokenizers core, abseil-cpp, re2, sentencepiece with bundled protobuf-lite, nlohmann/json headers, llama.cpp-unicode) into a single Swift PM library target. Includes: - Package.swift with explicit source file lists and cxxSettings - swift-config/config.h for sentencepiece (replaces CMake-generated config) - .gitignore entries for Swift PM build artifacts
Copilot
AI
changed the title
[WIP] Package tokenizers for integration with ExecuTorch
Add Swift Package Manager support
May 26, 2026
Comment on lines
+16
to
+35
| name: lintrunner | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.12' | ||
|
|
||
| - name: Install lintrunner dependencies | ||
| run: pip install -r requirements-lintrunner.txt | ||
|
|
||
| - name: Initialize lintrunner | ||
| run: lintrunner init | ||
|
|
||
| - name: Run lintrunner | ||
| run: lintrunner --force-color --all-files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repo has
lintrunnerfully configured (.lintrunner.tomlwith FLAKE8, UFMT, CLANGFORMAT, CMAKE, NEWLINE, MYPY) but no CI job was running it..github/workflows/lint.ymltriggered on PRs and pushes tomainmerge_base_withsupportrequirements-lintrunner.txt, runslintrunner init, thenlintrunner --all-files