aboutsummaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAge
* project: "steps to reproduce" in lsp_bug_report #21932Mathias Fußenegger2023-01-23
|
* ci: enable CI_BUILD on windows (#21557)dundargoc2023-01-18
| | | | | | | | This will ensure warnings are treated as errors when using MSVC. Also fix const correctness warnings. The warnings in mbyte.c are false positives that triggers this warning on MSVC v19.32 and lower, which our CI still use. The (void *) casts can be removed once the CI MSVC version has been upgraded to v19.33 or higher.
* ci: run each linter once (#21825)dundargoc2023-01-16
| | | | | Running "make lintlua" will run both stylua and luacheck if both exist. But this is not necessary as we already lint with stylua with the stylua-action, so we only need to lint with luacheck on our own.
* ci: deduplicate TEST_FILE environment variable (#21667)dundargoc2023-01-15
|
* ci(tsan): run functionaltests instead of oldtests (#21744)zeertzjq2023-01-11
| | | | With TUI as an external process oldtests no longer involve threads, so TSAN isn't useful. Meanwhile functionaltests may involve threads.
* ci(news): checkout to HEAD commit instead of merge commit (#21679)dundargoc2023-01-07
| | | | | The default merge branch is unreliable when trying to determine number of commits in a PR. Using the HEAD branch of the PR removes this ambiguity.
* ci: use nvim -l in api-docs jobJustin M. Keyes2023-01-05
|
* feat(lua)!: execute Lua with "nvim -l"Justin M. Keyes2023-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Nvim has Lua but the "nvim" CLI can't easily be used to execute Lua scripts, especially scripts that take arguments or produce output. Solution: - support "nvim -l [args...]" for running scripts. closes #15749 - exit without +q - remove lua2dox_filter - remove Doxyfile. This wasn't used anyway, because the doxygen config is inlined in gen_vimdoc.py (`Doxyfile` variable). - use "nvim -l" in docs-gen CI job Examples: $ nvim -l scripts/lua2dox.lua --help Lua2DoX (0.2 20130128) ... $ echo "print(vim.inspect(_G.arg))" | nvim -l - --arg1 --arg2 $ echo 'print(vim.inspect(vim.api.nvim_buf_get_text(1,0,0,-1,-1,{})))' | nvim +"put ='text'" -l - TODO? -e executes Lua code -l loads a module -i enters REPL _after running the other arguments_.
* project: rearrange ISSUE_TEMPLATE/bug_report.ymlJustin M. Keyes2023-01-05
| | | | | | | | | | Problem: The "system info" fields in the bug report take up a lot of space at the top. That hides the most relevant part of the bug report. To read the actual bug, you always have to scroll down. Solution: Move the "system info" fields to the bottom.
* project: update feature request templateJustin M. Keyes2023-01-03
| | | | - Ask for problem/solution format. - Drop "Vim version" field, it is usually empty and takes up too much space.
* ci: add platform:nix label when changing nix files (#21569)dundargoc2022-12-28
| | | Also update the reviewer list.
* ci(release): properly set multiline output variable (#21560)zeertzjq2022-12-28
|
* ci: remove needs:response label if author responds (#21489)dundargoc2022-12-23
| | | | | | | | | | ci: remove "needs:response" label if author responds The default behavior of the stale action is to indiscriminately remove the `needs:response` label for any activity whatsoever, from anyone. The other option is to turn it off completely, meaning the maintainers needs to manually remove the label themselves when the author responds for an issue to not close automatically. Neither of these behaviors are useful to us.
* docs: add security policy (#17338)dundargoc2022-12-22
|
* ci: bump api-docs runner to ubuntu-latest (#21501)dundargoc2022-12-22
| | | | | | This was set explicitly to ubuntu.22.04 as ubuntu-latest pointed to ubuntu.20.04, and we needed 22.04 to have a new enough doxygen version for this job to work. Now that ubuntu-latest points to 22.04 this workaround is no longer needed.
* ci: don't use asan_symbolize for the ASAN jobdundargoc2022-12-21
| | | | | | | asan_symbolize-14 gives a deprecation as it relies on outdated python features. We can safely stop using asan_symbolize as it's only needed for special cases such as cross compilation which we don't have to worry about.
* ci: bump stale action version (#21490)dundargoc2022-12-21
|
* ci: bump stylua action to v2 (#21455)dundargoc2022-12-17
|
* ci: add team reviewers (#21434)dundargoc2022-12-15
| | | | | | | | Using team reviewers when possible reduces the churn on the git history as we'll be able to add or remove reviewers without needing to change the workflow files. This requires using Github fine-grained personal access tokens with Pull Requests set to "Read and write" and Members to "Read-only".
* docs: fix typos (#21328)dundargoc2022-12-12
|
* fix(vim-patches): ensure libfuse is installedJames McCoy2022-12-09
|
* ci(news): fetch full history (#21312)dundargoc2022-12-06
| | | | We seem to need the parent commit of the earliest PR commit in order to perform common git functionality to check which files were changed.
* ci: create CI job to check if news needs to be updated (#21142)dundargoc2022-12-05
| | | | | | | | | | | | | If any commit message in the PR is either of type "feat" or is a breaking change, then there's a high probability that news.txt should be updated. Give an error if news.txt hasn't been updated in that case. This workflow cannot 100% correctly determine if news.txt should be updated even if the commit messages were exactly correct. The entries in news.txt is determined by changes between releases, while the commit messages are based on the master branch. While it is an approximation, it is still a useful enough one that it's still valuable to have this job as a reminder even if it gives an error if it shouldn't. In these cases it is perfectly fine to ignore the failure for this job.
* ci: use shell script to deduplicate workflow (#21079)dundargoc2022-12-05
|
* ci: use local action to make make cache keys consistent (#20538)dundargoc2022-12-05
| | | | The advantages of using an action is that it reduces boilerplate and repetition from the main ci.yml workflow.
* ci: rename workflow files to be simpler and more consistent (#21253)dundargoc2022-12-01
|
* ci: add more reviewers based on label (#21155)dundargoc2022-11-30
|
* ci(labeler): also add filetype label for filetype/detect.lua (#21180)zeertzjq2022-11-24
|
* ci(release/winget): correctly set output variable (#21077)Vedant2022-11-17
|
* ci(windows): set $PSNativeCommandArgumentPassing = 'Legacy' (#21083)zeertzjq2022-11-17
| | | | | | Ref https://github.com/actions/runner-images/issues/6586 Some runners are using new images, while some others are using old image. This is the only way I can find that makes it work on both.
* ci(stale): disable remove-stale-when-updated (#21075)zeertzjq2022-11-16
| | | | | The needs:response label should only be added and removed manually, and the action's behavior of removing the label on any activity (e.g. title change, removing reviewers) is unwanted.
* ci: add stale bot #20884dundargoc2022-11-06
| | | | | Stale strategy is to never automatically stale anything. Only mark stale issues or PRs if they get the `needs:response` label. In that case close after 30 days if there hasn't been any activity.
* ci: install only necessary dependencies #20970dundargoc2022-11-06
|
* ci: request reviewers when PR is reopened #20972dundargoc2022-11-06
|
* ci: replace deprecated feature set-output (#20834)dundargoc2022-11-05
| | | | | The new recommended way to share values between Github Actions steps is to use environment files: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
* ci: remove ci/build.ps1 (#20891)dundargoc2022-11-05
| | | | Main benefit is that this will return the correct exit code by default, meaning the lengthy workarounds to properly fail a test aren't needed.
* ci: fix incorrect asan_symbolize name (#20900)dundargoc2022-11-05
|
* revert: "ci(commitlint): use pull_request_target to avoid "skip ci"" (#20845)dundargoc2022-11-05
| | | | | | | This reverts commit d7e2229b41748e84f525ee44cee19be81382ceab. This workflow isn't required to pass to merge a PR any more. Using pull_request_target to bypass the required check when using [skip ci] is therefore no longer needed.
* ci: skip tests if build fails (#20908)dundargoc2022-11-04
| | | | | | | | | | | | | | | | | | | | | | It's currently difficult to pinpoint the cause of a failure since all tests are run even if the build steps fail. But since the build failed the test will almost always fail as well as it's dependent on a successful build, leading to many steps being marked as a failure even though the real problem was the build step. Even worse, the default behavior of GitHub Actions is to only automatically show the last failed step, which is misleading if the build process fails since it'll show the logs of the failing test step. An easy solution would be to abort all subsequent steps if any steps fail. This isn't optimal however, as we want all lint and test failures to show on a single run instead of prematurely aborting on a single test step. We can solve both problems by dividing each job into two phases: the build/installation phase and the test/lint phase, with a checkmark step in between. The strategy is simple: if any step before the checkmark step fails (the build phase), then abort all following steps. If any step after the checkmark fails (the test phase), then show that test as failed but continue running all tests.
* ci(stylua): explicitly set the version to latest (#20869)dundargoc2022-10-30
| | | | This will silence the warning about needing to pin the version in the Summary Page.
* ci(windows): build dependencies with Ninja (#20800)dundargoc2022-10-30
| | | | This will save around a minute of CI time for each run. Also clean up build.ps1 by removing unnecessary code.
* ci: use GHA default clang for asan, tsan jobs #20846dundargoc2022-10-29
| | | | | | Default is currently clang 14. GHA images are updated at least once per year, so we don't need to manually install a newer clang version. Also remove step for installing clang-13 since it's not needed anymore.
* build: remove python linting #20851dundargoc2022-10-29
| | | | | | This includes both the `lintpy` make target and for CI. We're actively trying to reduce our python usage, so this only seems to give warnings for unimportant things such as exceeding the line after deleting python code.
* vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762Justin M. Keyes2022-10-21
| | | | There are 6 remaining 8.0.x patches, tracked in: https://github.com/neovim/neovim/issues/5431
* ci: add reviewers based on labels (#20703)dundargoc2022-10-18
|
* ci: bump ubuntu and macos to latest stable versions (#20479)dundargoc2022-10-17
|
* feat(cscope)!: removeLewis Russell2022-10-13
|
* Merge pull request #20528 from mliszcz/build-appimage-in-containerJames McCoy2022-10-08
|\ | | | | ci: Use ubuntu docker container to build appimage
| * ci: use ubuntu docker container to build appimagemliszcz2022-10-07
| | | | | | | | | | | | | | | | Switch back to Ubuntu 18.04 for buliding the appimage. This allows for using the appimage on older systems that do not provide GLIBC_2.29. Fixes #19711. Fixes #20113.
* | ci(backport): bump version to v0dundargoc2022-10-08
|/ | | | | | backport-action now uses "v0" tag to point to the latest stable version. This helps us avoid having to manually bump the version to get bug fixes.