Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo: general housekeeping #85

Merged
merged 6 commits into from
Jun 29, 2024
Merged

repo: general housekeeping #85

merged 6 commits into from
Jun 29, 2024

Conversation

l-zeuch
Copy link
Owner

@l-zeuch l-zeuch commented Jun 25, 2024

Some general housekeeping tasks that need be done in light of a few new things.

Summary:

  • fixed a broken link in PULL_REQUEST_TEMPLATE
  • We now attempt to cache build Neovim and Vim binaries, hopefully speeding up workflow runs in long-standing PRs Not anymore, see 74837a9
  • renamed the old generate target to completion to better reflect what it is doing
  • introduced a new meta-target generate that runs both syntax and completion gen
  • renamed two workflow files to hopefully better reflect what is in them

Terms

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
Rename the old generate target to "completion", thus being more clear about what
it does.

In a similar vein, we introduce a new meta-target "generate", that runs both
syntax and completion targets.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
There's now Neovim 0.10.0, so add the version prior to that to the version
matrix.

Rename the workflow files genfuncs and generate to be a bit more telling about
what they contain.

Tell lytfs about our GITHUB_TOKEN, thereby authenticating with the GitHub API.
Although the unauthenticated ratelimit is quite lenient considering that
Workflows take a bit to fire and run, it's better to be safe, especially when
quick-firing multiple runs.

Checkout the repository with an SSH deploy key, in hopes to cause less headaches
when trying to push regenerated syntax defs and suchlike to a PR.

Attempt to cache the build Neovim and Vim binaries, hopefully speeding up
workflow runs. Not quite sure if it will work, but worst case scenario is
actions/cache emitting a warning, as far as I can tell.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
actions/cache wants a key to store the cache under. Add one.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
@l-zeuch l-zeuch requested a review from LRitzdorf as a code owner June 25, 2024 10:29
It appears as if the setup-vim action is not quite compatible with caching, or
we do not fully understand how it functions yet.

For now, we will remove the cache attempt and just cope with the longer build
times.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
Run the `generate` target instead of the `syntax` target to lessen the noise in
the git log, though we squash it anyway.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
Copy link
Collaborator

@LRitzdorf LRitzdorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, ship when ready :shipit:

@l-zeuch l-zeuch merged commit 420dd72 into master Jun 29, 2024
28 checks passed
@l-zeuch l-zeuch deleted the general-housekeeping branch June 29, 2024 07:58
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