Commit graph

30 commits

Author SHA1 Message Date
Christian Clason
c17de56890 feat!: track parser revision in Lua
Problem: Tracking parser revision in lockfile and allowing override
through the parsers module complicates the code. In addition, only
revision changes are handled robustly, not changes to other installation
info.

Solution: Track parser revision in the parsers module directly. Reload
parser table on every install or update call. Support modifying parser
table in a `User TSUpdate` autocommand.
2025-05-12 18:43:40 +02:00
Christian Clason
9c0a99819c ci: remove update-lockfile shell script 2025-05-12 18:43:40 +02:00
Christian Clason
5aa2984a02 refactor: use vim.fs.joinpath 2025-05-12 18:43:40 +02:00
Christian Clason
e5c8398e44 ci(bot): bump create-github-app-token to v2 2025-04-06 11:23:58 +02:00
Christian Clason
d22166e3d8 ci: bump create-pull-request to v7 2024-09-11 09:20:04 +02:00
Christian Clason
c436d45eee Revert "ci(update): bump create-pull-request to v7 and sign commits"
This reverts commit c9003a3cb1.
2024-09-10 10:20:29 +02:00
Christian Clason
c9003a3cb1 ci(update): bump create-pull-request to v7 and sign commits 2024-09-10 08:19:14 +00:00
Christian Clason
22c5a0d833 ci: teach bot about conventional commits 2024-03-03 10:39:15 +01:00
Christian Clason
30a41f52f9 ci: bump create-pull-request to v6 2024-03-01 08:43:57 +01:00
dundargoc
6444286cbf ci: fix invalid workflow
Context variables aren't always available, so we can't rely on them for
e.g. environment variables.

Also merge all install scripts into `script/ci-install.sh`, that way it
can be called the same way regardless of system.
2024-02-10 19:49:14 +01:00
Christian Clason
569d5dfadb ci: use nvim-treesitter-bot as author 2024-01-30 09:01:30 +01:00
Christian Clason
e24dab6696 ci: use nvim-treesitter-bot as committer 2024-01-29 10:14:42 +01:00
Christian Clason
b5736698be ci: use token for automated PRs
* 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
2024-01-28 16:15:57 +01:00
Christian Clason
9288d9b505 ci: bump actions to latest 2024-01-05 12:54:30 +01:00
ObserverOfTime
1a4116aef1 ci: update workflows 2023-08-18 11:09:57 +03:00
Christian Clason
330da0ff07 ci: bump actions to latest 2023-07-11 08:14:21 +02:00
ObserverOfTime
e6eaefe449 ci: fix readme workflow 2023-01-21 20:39:10 +01:00
dundargoc
f2a5524add ci: bump action versions 2022-12-17 12:57:24 +01:00
Christian Clason
a2ee5610ae ci: add workflow_dispatch 2022-08-23 00:52:35 +02:00
Dundar Göc
f476df31af ci: rename workflows and jobs to be more consistent 2022-02-14 19:15:17 +01:00
Dundar Göc
194aaf7159 ci: remove apt update if on workflows where it's not used
Shaves off 10 seconds per workflow.
2022-02-06 01:16:59 +01:00
dundargoc
3041e32701
ci: mark automated PRs as draft (#2413)
The required checks can be initiated by marking the PR as ready for
review.
2022-02-01 09:08:45 +01:00
Christian Clason
16c773c0f8 ci: use stable tag for latest nvim release 2022-01-21 19:38:01 +01:00
Christian Clason
bf59e0a3fb ci: bump neovim and tree-sitter cli to latest version 2022-01-21 18:58:40 +01:00
Stephan Seitz
cd6aabb964 ci: use Neovim v0.6.0 2021-12-06 22:34:30 +01:00
Stephan Seitz
5684389a27 ci: open PRs to update README 2021-12-06 21:29:50 +01:00
Stephan Seitz
7135321cc2 ci: use nvim v0.5.1 on CI 2021-10-21 19:50:23 +02:00
Stephan Seitz
1bfffb11fd CI: Fix update-readme.yml 2020-11-25 08:04:54 +01:00
Stephan Seitz
ffe7d96dfd feat(CI): auto-update README.md 2020-08-31 18:53:24 +02:00
Stephan Seitz
7c9ffe9e19 Fix #292: Add parser links to README.md 2020-08-25 14:58:28 +02:00