aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAge
...
* ci: bump actions/checkout from 3 to 4dependabot[bot]2023-09-04
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* ci: move external_deps job from cirrus-ci back to github actionsdundargoc2023-09-03
| | | | | | | This partially reverts commit 7d0479c55810af9bf9f115ba69d1419ea81ec41e. The job has been particularly unstable when used with docker on cirrus-ci, which is especially bad as it's meant to be a non-flaky and simple test.
* docs(generators): bake into cmakeLewis Russell2023-08-23
|
* ci: run codeql on pull requests #24545Justin M. Keyes2023-08-13
| | | Also use cache to save 1 minute.
* ci(labeler): run "type-scope" after "triage"zeertzjq2023-08-09
| | | | | Problem: When "triage" job is run after "type-scope" job, it may remove labels added by the "type-scope" job. Solution: Run "type-scope" job after "triage" job.
* feat(lua-types): types for vim.api.* (#24523)Lewis Russell2023-08-01
|
* feat(docs): generate builtin.txt (#24493)Lewis Russell2023-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - eval.lua is now the source of truth. - Formatting is much more consistent. - Fixed Lua type generation for polymorphic functions (get(), etc). - Removed "Overview" section from builtin.txt - Can generate this if we really want it. - Moved functions from sign.txt and testing.txt into builtin.txt. - Removed the *timer* *timers* tags since libuv timers via vim.uv should be preferred. - Removed the temp-file-name tag from tempname() - Moved lueval() from lua.txt to builtin.txt. * Fix indent * fixup! * fixup! fixup! * fixup! better tag formatting * fixup: revert changes no longer needed * fixup! CI --------- Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* feat(lua): typing for vim.fn.* (#24473)Lewis Russell2023-07-26
| | | | | | | Problem: No LSP information for `vim.fn.*` Solution: Add meta file for `vim.fn.*`.
* ci: introduce CI_LINT optiondundargoc2023-06-24
| | | | | | This will abort if lint programs are not found, and is meant primarily for the lint job in CI. Supersedes the REQUIRED argument in add_glob_target as it's a superior replacement by being a built-in solution.
* build!: remove neovim qtdundargoc2023-06-06
| | | | | | | | | | | | | | | | | | | | | | | Neovim QT was originally bundled on Windows as a response to the then lackluster terminal options. The situation has dramatically changed, with viable options such as Windows terminal, Alacritty and Wezterm to name a few. The Windows build no longer needs this special treatment for neovim to be usable. Pros: - Release builds will be smaller. - Less maintenance burden. - Clearer separation of responsibility (neovim issues go to the neovim repo and neovim-qt issues to the neovim-qt repo). - More consistent treatment between platforms. Cons: - Users who've come to expect neovim-qt to be bundled with nvim will need to adjust and download neovim-qt from https://github.com/equalsraf/neovim-qt instead. - Similarly, build scripts will need to be adjusted to reflect this change. Closes https://github.com/neovim/neovim/issues/21209.
* docs: small fixes (#23619)dundargoc2023-06-02
| | | | | | Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Gustavo Ferreira <gustavo.ferreira@imaginecurve.com> Co-authored-by: Kai Moschcau <mail@kmoschcau.de> Co-authored-by: Lampros <hauahx@gmail.com>
* ci(issue-open-check): don't add "doc" labelzeertzjq2023-05-31
| | | "doc" label doesn't exist and mentioning "doc" doesn't mean anything.
* ci: remove reviewdog for uncrustifydundargoc2023-05-27
| | | Now that uncrustify is bundled it is no longer necessary.
* build: remove functionaltest-lua targetdundargoc2023-05-24
| | | | | It's not needed anymore as it does the exact same thing as functionaltest. The functionaltest target will test the lua type neovim was built with, which can be toggled with the PREFER_LUA option.
* ci: remove api-docs-check workflowdundargoc2023-05-24
| | | | Having a workflow that creates a PR with the necessary changes on master is redundant as this check is enforced for each PR anyway.
* ci: add check to ensure USE_EXISTING_SRC_DIR=ON builds workJames McCoy2023-05-22
|
* build: bundle uncrustifydundargoc2023-05-18
| | | | | | Uncrustify is sensitive to version changes, which causes friction for contributors that doesn't have that exact version. It's also simpler to download and install the correct version than to have bespoke version checking.
* ci: remove redundant asan and ubsan optionsii142023-05-15
| | | We now have default options for ASAN and UBSAN (#23259)
* ci: trigger tests when pushingdundargoc2023-05-15
| | | | | | | | | | | | | | | | | | This will allow contributors to test changes in their own fork when pushing without needing to make a pull request. This can be useful when wanting to test out an idea before initiating a review process. Make the following assumptions when defining concurrency: - Pull request will work the same. - Pushes to the neovim repo will work the same: each unique commit will trigger a test run that won't cancel each other. - Pushes to forks will cancel older CI runs on the same branch, similar to how pull requests work. This will create duplicate CI runs when doing a pull request, one in the neovim repo for the pull request event and one in the fork for the push event. This is an acceptable trade as the runs in the fork doesn't count towards the CI limit of neovim. Contributors are also free to disable these actions in their own fork if they wish.
* docs: small fixesdundargoc2023-05-13
| | | | | | | | | Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: HiPhish <hiphish@posteo.de> Co-authored-by: Julio B <julio.bacel@gmail.com> Co-authored-by: T727 <74924917+T-727@users.noreply.github.com> Co-authored-by: camoz <camoz@users.noreply.github.com> Co-authored-by: champignoom <66909116+champignoom@users.noreply.github.com>
* ci: auto-add labels on issues based on titleRaphael2023-05-07
| | | | This is similar to the pull request labeler. We search for certain key words in the issue title and add them if they are present.
* ci: make install_deps.sh more flexibledundargoc2023-04-29
| | | | This will allow us to use it in containers as well as specify whether we want to install test dependencies.
* ci: run lintcommit with cmake targetdundargoc2023-04-29
| | | | This increases CI time, but prevents situations where it works on CI but not locally.
* ci: install uncrustify through homebrewdundargoc2023-04-29
| | | | It will result in less CI code, and the additional CI time is negligible.
* ci: replace stylua action with our own lint targetdundargoc2023-04-29
| | | | | | | This will prevent situations where the linting works on CI but not locally, at the cost of increased CI time. Also manually ignore `runtime/vim/lua/re.lua`, as the .styluaignore isn't respected when specifying a file instead of a directory.
* ci: replace stale bot with custom implementationdundargoc2023-04-27
| | | | The stale action has a bug where it won't close an issue/PR if it has comments after the stale label.
* ci: containerize the external dependencies testdundargoc2023-04-26
| | | | | | Cirrus ci automatically pushes/caches docker images, which makes containerization much simpler to handle. Moving this job to cirrus ci shortens the job by a minute, and reduces github actions CI usage by two minutes per PR.
* build: add "ci" configure preset to reduce verbositydundargoc2023-04-23
| | | | | | | | | | `cmake --preset ci` is equivalent to `cmake -B build -G Ninja -D CI_BUILD=ON` Also remove build presets as they're not very useful without workflow presets, which are only available in schema versions 6 and above.
* ci: reuse script to enable Developer Command Promptdundargoc2023-04-23
|
* ci(release): clean up wording and undeprecate tar.gzdundargoc2023-04-23
|
* ci(labeler): reuse workflow to reduce duplicationdundargoc2023-04-22
|
* ci: make all linux releases work with same glibc versiondundargoc2023-04-22
|
* build: drop diff.exe from windows buildsdundargoc2023-04-22
| | | | | | | | The shipped versions of xdiff already does everything diff does, so this duplication of tools isn't necessary. Furthermore, this setup is more consistent overall, as the 'diffopt=external' option should be for external programs rather than programs we bundle neovim with. Install diffutils for oldtests in CI to avoid needing to modify tests.
* ci(lintcommit): fix error outputdundargoc2023-04-22
| | | | Using print() alone doesn't work properly, toggling the verbose option is still required.
* ci(lintcommit): use nvim -lLewis Russell2023-04-22
|
* ci: remove team reviewersdundargoc2023-04-22
| | | | | Team reviewers is a nice feature that comes with a severe drawback: it makes testing the workflows incredibly difficult as they won't work without a similar token by the tester.
* Merge pull request #23106 from bfredl/nlua0bfredl2023-04-19
|\ | | | | refactor(build): use vendored versions of mpack and luabitop
| * refactor(build): use vendored versions of mpack and luabitopbfredl2023-04-19
| |
* | build: update uncrustify to 0.76Lewis Russell2023-04-19
|/
* build: find system luv on ubuntudundargoc2023-04-19
| | | Also use the system luv in CI for the with-external-deps job.
* ci(labeler): add back GitHub token for type-scopezeertzjq2023-04-17
| | | It is required by `gh pr edit`.
* ci: remove unnecessary token usagedundargoc2023-04-16
|
* ci(release/winget): get msi from previous job instead of downloading Vedant2023-04-10
|
* build(ci): ensure correct headers are used on macOSCarlo Cabrera2023-04-09
| | | | | | | | | | Currently, the release build picks up headers in `/Library/Frameworks/Mono.framework/Headers`. You can verify this by downloading the latest nightly build and checking the output of `nvim --version`. These headers are likely to be from a different version of `libintl` than the one we link to. Let's avoid usage of them by setting `CMAKE_FIND_FRAMEWORK` to `NEVER`.
* ci: simplify backport workflowdundargoc2023-04-08
|
* ci: don't automatically enable -Werror on CI environmentsdundargoc2023-04-07
| | | | | | This catches downstream consumers of neovim off guard when using neovim in an esoteric environment not tested in our own CI. Closes https://github.com/neovim/neovim/issues/22932
* ci(release): promote appimage over tar.gz (#22908)Christian Clason2023-04-06
|
* ci!: remove the .deb release (#22773)dundargoc2023-04-05
| | | | | | | | | | | | | | | | | | | Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on https://github.com/neovim/neovim/issues/22684
* refactor(treesitter): delegate region calculation to treesitter (#22576)Lewis Russell2023-04-04
|
* build(deps): bump actions/stale from 7 to 8dependabot[bot]2023-03-23
| | | | | | Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v7...v8)