dependabot[bot]
df3c6412ac
build(deps): bump cachix/cachix-action from 11 to 12 ( #4547 )
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 11 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v11...v12 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:21:51 -05:00
dependabot[bot]
fee5db161b
build(deps): bump cachix/install-nix-action from 17 to 18 ( #4340 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 20:03:04 -05:00
dependabot[bot]
38746b04b4
build(deps): bump cachix/cachix-action from 10 to 11 ( #4339 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:55:15 -05:00
Pascal Kuthe
4133f1f424
Document MSRV policy ( #3913 )
2022-09-23 15:58:00 +09:00
Pascal Kuthe
5ea7855977
raise msrv to 1.59 ( #3896 )
2022-09-19 12:03:51 +09:00
yvt
b191ecf828
Strip release binary by setting profile.release.strip
in a pre-build step ( #3780 )
...
* chore(ci): remove the strip step from the release CI workflow
* chore(ci): set `profile.release.strip = true` in the release CI workflow
2022-09-11 11:15:07 +09:00
yvt
02d6102540
chore(ci): upgrade actions/upload-artifact
to v3
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-09-10 08:36:48 -05:00
yvt
0090a2d86f
chore(ci): support "preview" release CI runs
...
Expands the trigger sources of the release CI workflow (`release.yml`),
allowing the developers to test changes to `.github/workflows/release.yml`
easily. The new trigger sources start the workflow in a "preview" mode, in
which it publishes build outputs as a CI artifact instead of creating a new
release so that they can be manually inspected.
The following events trigger the preview mode:
- Pushing to any branch matching the glob pattern `patch/ci-release-*`.
- Opening a pull request that modifies `.github/workflows/release.yml`.
- Pushing versioning tags to a forked repository.
2022-09-10 08:36:48 -05:00
yvt
29fe0c3862
Enable CI builds for riscv64-linux
( #3685 )
2022-09-10 08:35:35 -05:00
yvt
b7380313a5
chore(ci): build AppImage for aarch64-linux
2022-09-06 18:42:02 -05:00
yvt
038a91d204
chore(ci): build binary for aarch64-linux
2022-09-06 18:42:02 -05:00
yvt
1fc97a9a20
chore(ci): install a pre-release version of Cross
2022-09-06 18:42:02 -05:00
A-Walrus
c93d52cc8a
Fix cargo doc warnings, and add GitHub action to ensure it ( #3650 )
2022-09-03 09:58:16 -05:00
Yusuf Bera Ertan
e917a8e0be
build(nix): update nci, refactor flake, seperate wrapping, add source filtering ( #3657 )
2022-09-02 17:54:07 -05:00
Michael Davis
d7d9ca37e5
Reword the feature_request issue template as enhancement ( #3481 )
2022-08-31 17:45:49 +09:00
Michael Davis
4e4c6da3bf
Add query-check xtask
2022-08-31 17:45:23 +09:00
yvt
aa4394ce12
chore(ci): match *-macos
by checking suffix
...
Simplifies a conditional expression in the CI workflow configuration.
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-08-02 12:04:09 +09:00
yvt
4461090c3d
chore(ci): build binary for aarch64-macos
...
The tests are conditionally disabled for this target because the x86_64 CI
host is unable to run AArch64 binaries. (There is no officially-supported
reverse Rosetta 2.)
2022-08-02 12:04:09 +09:00
Skyler Hawthorne
086b63ab1b
add integration-test cargo alias
2022-06-18 23:57:47 -04:00
Skyler Hawthorne
28e94fb261
need the full languages config for integration tests
2022-06-18 23:57:47 -04:00
Skyler Hawthorne
cb0440be85
use env var for integration test log level
2022-06-18 23:57:47 -04:00
Skyler Hawthorne
2fbf833630
add integration feature to github tests
2022-06-18 23:54:03 -04:00
Michael Davis
0035c29fc1
Use a minimal binary to fetch grammar sources in release CI ( #2557 )
...
This is an optimization for the release CI. The release CI can take
a while since it compiles release builds for all operating systems.
We cut down on duplicate work and overall time by fetching
tree-sitter grammar repositories and then using those repositories
in all later steps. Previously we built all of helix just to run
helix_loader::grammar::fetch_grammars()
which is wasteful on time. With this change we only build the
helix-loader crate.
2022-06-05 19:53:20 +09:00
Blaž Hrastnik
a106341fd7
Fix release action
2022-05-28 23:23:08 +09:00
Michael Davis
89c0998aee
lower MSRV to 1.57.0
...
This line uses the Display trait for io::ErrorKind which was
stabilized in Rust 1.60.0. We can set MSRV all the way back to
1.57.0 by replacing it with a pretty-print.
Closes #2460 .
2022-05-24 01:05:19 +09:00
Michael Davis
92df5a5425
check MSRV in CI
...
It's very easy to use new rust features without realizing it since
the CI and local development workflows may use the latest rust version.
We try to keep some backwards compatibility with rust versions to make
packaging easier for some OS-level package-managers like Void Linux's.
See #1881 .
This change runs the "Check" step for the pinned version of rust in
the rust-toolchain.toml file as well as the MSRV version in a matrix.
In order to bump the MSRV, we need to edit
.github/workflows/msrv-rust-toolchain.toml
This commit sets the MSRV as 1.60.0 but a later child commit will
reduce the MSRV back to 1.57.0.
Closes #2482 .
2022-05-24 01:05:19 +09:00
Michael Davis
f6531c9db0
inherit rust toolchain channel from rust-toolchain.toml
...
We've forked actions-rs/toolchain and merged
https://github.com/actions-rs/toolchain/pull/209
so we can take advantage of full support of `rust-toolchain.toml`.
Without that PR, the action fails because the `rustup` version
built into the runners by default is too old. #2528 covers switching
back to the upstream when it includes those changes.
2022-05-24 01:05:19 +09:00
Blaž Hrastnik
35303f749e
Replace handwritten CI cache with Swatinem/rust-cache
...
The cache kept growing as dependencies kept changing and updating.
2022-05-23 13:48:00 +09:00
Blaž Hrastnik
8b1a03a178
Add FUNDING.yml
2022-05-11 10:51:20 +09:00
Matthew Toohey
e452b97cdc
AppImage ( #2089 )
...
* Add desktop entry file
Co-authored-by: NNB <n.at@aleeas.com>
* Add placeholder icon for AppImage
* Add AppImage step to release workflow
* Exclude grammar sources from AppImage
Co-authored-by: NNB <n.at@aleeas.com>
2022-04-20 10:43:52 +09:00
Benedikt Müller
1fb6144432
Add shell completion ( #2022 )
...
* Add shell completion
* Add shell completion to release
2022-04-12 17:10:21 +09:00
dependabot[bot]
14079bd17b
build(deps): bump cachix/install-nix-action from 16 to 17 ( #2081 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 18:34:39 -05:00
dependabot[bot]
f9ddc8a9ac
build(deps): bump actions/download-artifact from 2 to 3 ( #2082 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 18:34:29 -05:00
Michael Davis
838cfcc7cd
publish a source tarball with version and grammars ( #1875 )
...
* publish a source tarball with version and grammars
* include_str! the release version from a VERSION file
* remove setting of .version file from tag
don't need this anymore since the file is checked into source
2022-03-29 14:34:19 +09:00
dependabot[bot]
585347aca0
build(deps): bump actions/cache from 2.1.7 to 3 ( #1850 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 11:14:14 +09:00
Ivan Tham
533cca7195
Improve bug report template ( #1826 )
2022-03-18 14:06:56 +09:00
Gokul Soumya
85492e587c
Deploy docs for master separately ( #1783 )
...
* Deploy docs for master separately
* Output docs for every tagged release
* Update .github/workflows/gh-pages.yml
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2022-03-14 11:46:40 +09:00
Michael Davis
43fc073cb3
ci: configure restore-keys for caches ( #1806 )
...
`restore-keys` is a configuration option for the actions/cache action
which specifies fallback behavior. The [docs][docs] say it best:
> When a cache miss occurs, the action searches for alternate keys
> called `restore-keys`.
>
> If you provide `restore-keys`, the `cache` action sequentially
> searches for any caches that match the list of `restore-keys`.
> ... If there are no exact matches, the action searches for partial
> matches of the restore keys. When the action finds a partial match,
> the most recent cache is restored to the `path` directory.
So this improves caching when there's a miss. For example if I edit
`.github/workflows/languages.toml`, the current behavior is that the
cache for downloaded grammars will miss and all of them will need to
be fetched again. With `restore-keys`, we use the latest published
cache as 'good enough', we'll fetch whatever grammars changed, and
then at the end we publish a new cache under the new hash.
[docs]: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
2022-03-14 11:44:51 +09:00
Michael Davis
61828ea519
use 'cargo test --workspace' in CI ( #1793 )
...
79caa7b72b
setup helix-term as the
default workspace member (which I believe is done to avoid building
xtask on every compile). This changes the behavior of 'cargo test'
though so that it only runs helix-term tests by default. To run all
tests, we switch to 'cargo test --workspace'.
2022-03-12 16:04:52 +09:00
Michael Davis
b157c5a8a4
fetch and compile tree-sitter grammars in helix-term build
...
This restores much of the behavior that existed before this PR:
helix will build the grammars when compiling. The difference is that
now fetching is also done during the build phase and is done much
more quickly - both shallow and in parallel.
2022-03-10 17:31:57 +09:00
Michael Davis
db3470d973
ensure rust grammar is available in CI
2022-03-10 17:31:57 +09:00
dependabot[bot]
0d0165b76e
build(deps): bump actions/checkout from 2 to 3 ( #1767 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 09:12:37 +09:00
dependabot[bot]
1493ff7657
build(deps): bump actions/upload-artifact from 2.3.1 to 3 ( #1766 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 09:12:22 +09:00
Blaž Hrastnik
86b1236b46
Fix cachix.yml definition
2022-03-02 11:18:29 +09:00
Michael Davis
227e0108e9
add workflow for pushing nix flake artifacts to Cachix ( #1721 )
...
* add workflow for pushing nix flake artifacts to Cachix
* add docs on using the cachix cache from nix
* remove submodule clone from cachix workflow
* remove flake check
2022-03-02 11:12:50 +09:00
Blaž Hrastnik
48a0c80652
Run clippy on all targets (including tests)
2022-01-25 16:37:03 +09:00
Ivan Tham
440d4ae9df
Add terminal emulator to bug report ( #1535 )
2022-01-18 21:39:02 +05:30
dependabot[bot]
692ed7500f
build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1 ( #1316 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 08:48:13 +09:00
dependabot[bot]
10ad25b95b
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0 ( #1263 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 09:34:11 +09:00
Gokul Soumya
70c989e122
Add github action to lint unmerged docs
2021-12-08 10:23:50 +09:00
dependabot[bot]
82889d7c41
build(deps): bump actions/cache from 2.1.6 to 2.1.7
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 08:47:10 +09:00
Thanabodee Charoenpiriyakij
95f392b18d
Fix bug report template use wrong hx version ( #1158 )
2021-11-24 20:58:25 +05:30
Blaž Hrastnik
4a32851103
Break CI cache
2021-10-28 00:13:21 +09:00
Blaž Hrastnik
dbd1f11311
fix: Cross compile tests as well
...
We ran the tests first, but did not cross compile them. This step would
also compile all the grammar libraries (but for the host machine). On
the actual release build, the editor would get built for the target, but
the grammar libraries would be detected as present and wouldn't
recompile.
Refs #577
2021-08-14 13:32:29 +09:00
kabirz
6cba62b499
action: copy grammar libraries to runtime
2021-07-18 01:06:44 +09:00
dependabot[bot]
05bf9edebd
Bump actions/upload-artifact from 2.2.3 to 2.2.4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 09:25:29 +09:00
wojciechkepka
d39a764399
Fix typo in feature request template
2021-06-21 10:54:18 +09:00
wojciechkepka
d59c9f3baf
Add a blank issue template
2021-06-20 22:32:55 +09:00
wojciechkepka
82018af609
Add a template for a feature request
2021-06-20 22:32:55 +09:00
Blaž Hrastnik
4b7276ddd6
ci: Test with --release on releases
2021-06-20 10:48:42 +09:00
Blaž Hrastnik
1bf5b103b0
Add bug report template
2021-06-12 10:39:46 +09:00
Blaž Hrastnik
b3eeac7bbf
Disable aarch64-macos, it fails to build on macos-latest
2021-06-07 09:50:15 +09:00
Blaž Hrastnik
d9b2f6feac
Only test on stable rust
...
Shorter CI times, and it should be good enough.
2021-06-07 09:20:36 +09:00
Blaž Hrastnik
582f1ee9d8
Add aarch64-macos (M1) to the release build matrix
2021-06-07 09:19:51 +09:00
Blaž Hrastnik
392631b21d
Update build.yml
2021-06-06 18:22:18 +09:00
Ivan Tham
ce99ecc7a2
Add more coverage for CI
...
Runs every day as cron. Add matrix for test, includes windows and macos.
2021-06-06 18:10:02 +09:00
Blaž Hrastnik
e033a4b8ac
Merge pull request #11 from helix-editor/dependabot/github_actions/actions/upload-artifact-2.2.3
...
Bump actions/upload-artifact from 1 to 2.2.3
2021-05-30 17:58:43 +09:00
dependabot[bot]
3170c49be8
Bump actions/cache from 1 to 2.1.6
...
Bumps [actions/cache](https://github.com/actions/cache ) from 1 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v1...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 08:54:19 +00:00
dependabot[bot]
0327d66653
Bump actions/upload-artifact from 1 to 2.2.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v2.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 08:54:15 +00:00
Blaž Hrastnik
c67e31830d
Add dependabot config
2021-05-30 17:52:56 +09:00
Blaž Hrastnik
a3a9502596
Add a github pages auto-build action.
2021-05-30 17:12:29 +09:00
Blaž Hrastnik
726072085d
Fix release builds.
2021-05-12 22:14:56 +09:00
Blaž Hrastnik
d0f10fced7
Download the artifacts into current dir, that way it doesn't clash with dist.
2021-05-11 22:42:50 +09:00
Blaž Hrastnik
e1dc1d2d48
Fix release packaging.
2021-05-11 19:46:58 +09:00
Blaž Hrastnik
2d88c393f9
Update workflows.
2021-05-11 18:50:02 +09:00
Blaž Hrastnik
98bda8f3c9
Fix CI builds.
2021-05-11 01:19:29 +09:00
Blaž Hrastnik
41997d136a
ci: Specify tag format.
2021-05-10 17:42:12 +09:00
Blaž Hrastnik
dbbc341931
Update publish workflow.
2021-05-10 17:26:21 +09:00
Blaž Hrastnik
37d32e2933
Modify build triggers.
2021-05-10 16:15:28 +09:00
Blaž Hrastnik
83f97a7c89
Update workflow.
2021-05-10 15:50:15 +09:00
Blaž Hrastnik
686ad5e182
Update release.yml
2021-05-10 15:45:15 +09:00
Blaž Hrastnik
274c413f5a
Try building (but not packaging yet) binary releases.
2021-05-10 15:41:21 +09:00
Blaž Hrastnik
dbe870e4ec
Break CI cache.
2021-05-09 00:25:06 +09:00
Blaž Hrastnik
ee430536a4
Checkout submodules on clone.
2020-09-12 19:35:26 +09:00
Blaž Hrastnik
2ea5feaeb1
ci: Add dependency caching.
2020-06-02 10:42:41 +09:00
Blaž Hrastnik
3e078f8c7e
Update rust.yml
2020-06-01 17:56:51 +09:00
Blaž Hrastnik
cf7a41226d
Create rust.yml
2020-06-01 17:50:43 +09:00