aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAge
* add integration feature to github testsSkyler Hawthorne2022-06-19
|
* Use a minimal binary to fetch grammar sources in release CI (#2557)Michael Davis2022-06-05
| | | | | | | | | | | | 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.
* Fix release actionBlaž Hrastnik2022-05-28
|
* lower MSRV to 1.57.0Michael Davis2022-05-23
| | | | | | | | 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.
* check MSRV in CIMichael Davis2022-05-23
| | | | | | | | | | | | | | | | | | | 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.
* inherit rust toolchain channel from rust-toolchain.tomlMichael Davis2022-05-23
| | | | | | | | | 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.
* Replace handwritten CI cache with Swatinem/rust-cacheBlaž Hrastnik2022-05-23
| | | | The cache kept growing as dependencies kept changing and updating.
* AppImage (#2089)Matthew Toohey2022-04-20
| | | | | | | | | | | | | * 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>
* Add shell completion (#2022)Benedikt Müller2022-04-12
| | | | | * Add shell completion * Add shell completion to release
* build(deps): bump cachix/install-nix-action from 16 to 17 (#2081)dependabot[bot]2022-04-11
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/download-artifact from 2 to 3 (#2082)dependabot[bot]2022-04-11
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* publish a source tarball with version and grammars (#1875)Michael Davis2022-03-29
| | | | | | | | | * 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
* build(deps): bump actions/cache from 2.1.7 to 3 (#1850)dependabot[bot]2022-03-22
| | | | | | | | | | | | | | | | 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>
* Deploy docs for master separately (#1783)Gokul Soumya2022-03-14
| | | | | | | | | * 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>
* ci: configure restore-keys for caches (#1806)Michael Davis2022-03-14
| | | | | | | | | | | | | | | | | | | | | | `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
* use 'cargo test --workspace' in CI (#1793)Michael Davis2022-03-12
| | | | | | | 79caa7b72bef94bd820758b2ebc20887324f7416 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'.
* fetch and compile tree-sitter grammars in helix-term buildMichael Davis2022-03-10
| | | | | | | 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.
* ensure rust grammar is available in CIMichael Davis2022-03-10
|
* build(deps): bump actions/checkout from 2 to 3 (#1767)dependabot[bot]2022-03-08
| | | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/upload-artifact from 2.3.1 to 3 (#1766)dependabot[bot]2022-03-08
| | | | | | | | | | | | | | | | 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>
* Fix cachix.yml definitionBlaž Hrastnik2022-03-02
|
* add workflow for pushing nix flake artifacts to Cachix (#1721)Michael Davis2022-03-02
| | | | | | | | | * 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
* Run clippy on all targets (including tests)Blaž Hrastnik2022-01-25
|
* build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1 (#1316)dependabot[bot]2021-12-20
| | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0 (#1263)dependabot[bot]2021-12-14
| | | | | | | | | | | | | | | | 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>
* Add github action to lint unmerged docsGokul Soumya2021-12-08
|
* build(deps): bump actions/cache from 2.1.6 to 2.1.7dependabot[bot]2021-11-29
| | | | | | | | | | | | | | 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>
* Break CI cacheBlaž Hrastnik2021-10-27
|
* fix: Cross compile tests as wellBlaž Hrastnik2021-08-14
| | | | | | | | | | 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
* action: copy grammar libraries to runtimekabirz2021-07-17
|
* Bump actions/upload-artifact from 2.2.3 to 2.2.4dependabot[bot]2021-06-22
| | | | | | | | | | | | | | 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>
* ci: Test with --release on releasesBlaž Hrastnik2021-06-20
|
* Disable aarch64-macos, it fails to build on macos-latestBlaž Hrastnik2021-06-07
|
* Only test on stable rustBlaž Hrastnik2021-06-07
| | | | Shorter CI times, and it should be good enough.
* Add aarch64-macos (M1) to the release build matrixBlaž Hrastnik2021-06-07
|
* Update build.ymlBlaž Hrastnik2021-06-06
|
* Add more coverage for CIIvan Tham2021-06-06
| | | | Runs every day as cron. Add matrix for test, includes windows and macos.
* Merge pull request #11 from ↵Blaž Hrastnik2021-05-30
|\ | | | | | | | | helix-editor/dependabot/github_actions/actions/upload-artifact-2.2.3 Bump actions/upload-artifact from 1 to 2.2.3
| * Bump actions/upload-artifact from 1 to 2.2.3dependabot[bot]2021-05-30
| | | | | | | | | | | | | | 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>
* | Bump actions/cache from 1 to 2.1.6dependabot[bot]2021-05-30
|/ | | | | | | 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>
* Add a github pages auto-build action.Blaž Hrastnik2021-05-30
|
* Fix release builds.Blaž Hrastnik2021-05-12
|
* Download the artifacts into current dir, that way it doesn't clash with dist.Blaž Hrastnik2021-05-11
|
* Fix release packaging.Blaž Hrastnik2021-05-11
|
* Update workflows.Blaž Hrastnik2021-05-11
|
* Fix CI builds.Blaž Hrastnik2021-05-10
|
* ci: Specify tag format.Blaž Hrastnik2021-05-10
|
* Update publish workflow.Blaž Hrastnik2021-05-10
|
* Modify build triggers.Blaž Hrastnik2021-05-10
|
* Update workflow.Blaž Hrastnik2021-05-10
|