aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci: bump the actions group with 2 updatesdependabot[bot]2025-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) Updates `peter-evans/create-pull-request` from 7 to 8 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
* ci: bump actions/checkout to v5Christian Clason2025-08-121-3/+3
|
* feat(tests)!: new infrastructure based on makefileChristian Clason2025-05-121-27/+25
| | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to run all checks and tests locally. Redundant CI workflows. Solution: Separate CI into two workflows: * lint: Lua files (stylua, luals), query files (valid captures, predicates, directives using tsqueryls), docs (SUPPORTED_LANGUAGES.md) -- does not need parser installation * tests: parsers (ABI compatibility), query files (tsqueryls on Linux/macOS; nvim on Windows), highlight and indent tests (separated for better readability) -- needs parser installation (but only once) Switch to https://github.com/nvim-treesitter/highlight-assertions fork with ABI 15 support. Run all tests (on Linux and macOS) through `make` (`formatlua`, `checklua`, `lintquery`, `formatquery`, `checkquery`, `docs`, `tests`), which downloads and caches all necessary dependencies. Remove `update-readme` workflow (replaced by lint job on PRs).
* ci(tests): add optional workflow for generating grammarsChristian Clason2025-05-121-2/+2
| | | | run on PR by adding label `ci:generate` or manually
* feat(install)!: generate from json instead of requiring nodeChristian Clason2025-05-121-1/+2
| | | | | | | | | | | | Problem: Many parsers require node/npm to evaluate the `grammar.js` before being able to generate a parser from it. Solution: Generate from `grammar.json` instead, which is fully resolved. Drops `node` and `npm` as (optional) requirements for nvim-treesitter. Note that this requires parsers to commit the generated json iff the grammar requires evaluation (which is currently the case for all tracked languages).
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-2/+2
|
* ci: bump stylua-action to v4Christian Clason2024-08-271-1/+1
|
* ci(lint): make sure query parser is installed from this repoChristian Clason2024-05-261-3/+4
| | | | | | | | Problem: format-queries.lua in CI uses the bundled query parser from Neovim, meaning breaking changes are not reflected in tests. Solution: Install nvim-treesitter in the lint workflow and use it to install the query parser.
* fix(scripts): format-queries defaults to cwdChristian Clason2024-02-201-1/+1
|
* ci: use token for automated PRsChristian Clason2024-01-281-1/+2
| | | | | | | | | | * Use a Github App token to allow CI to run automatically (Following https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens) * Enable automerge * make lint workflow only run once on PRs to master
* ci: add query lint jobPham Huy Hoang2024-01-191-0/+16
|
* ci: bump actions to latestChristian Clason2024-01-051-2/+2
|
* ci: bump actions to latestChristian Clason2023-07-111-1/+1
|
* ci: remove ready_for_review typedundargoc2023-02-231-1/+0
| | | | | It's only needed if a job is disabled for drafts. Otherwise it will just run the same workflow twice.
* prettier formatting yml and mdKiyoon Kim2023-02-161-8/+8
|
* ci: bump stylua action to v2dundargoc2022-12-171-1/+2
|
* ci: bump action versionsdundargoc2022-12-171-2/+2
|
* ci(lint): update stylua-actionsChristian Clason2022-09-231-1/+1
|
* ci: use apt-get instead of apt to avoid warnings from aptDundar Göc2022-02-061-1/+1
|
* ci: remove unnecessary apt callsDundar Göc2022-02-061-1/+0
|
* ci: mark automated PRs as draft (#2413)dundargoc2022-02-011-1/+4
| | | | The required checks can be initiated by marking the PR as ready for review.
* ci: only fix major version of vulnerable action (#2411)Christian Clason2022-01-301-1/+1
| | | also bump checkout to v2 everywhere
* Luacheck: use config file to exclude filesSantos Gallegos2021-07-051-1/+1
|
* Use stylua for autoformat code (#1480)Santos Gallegos2021-07-041-0/+11
|
* fix(CI): Run style check as sudoStephan Seitz2020-08-211-1/+1
|
* ci: use GH Actions istead of Travis CIThomas Vigouroux2020-07-091-0/+20