aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAge
* CI: Update cachix/install-nix-action to v20 (#6163)Michael Davis2023-03-02
| | | | This fixes an issue with installing Nix 1.14 which causes the cachix/cachix-action in the next step to fail.
* bump msrv to 1.63 (#5570)Pascal Kuthe2023-02-09
| | | | | * bump msrv to 1.63 * resolve new complex type clippy lints
* Also run build checks on merge queueBlaž Hrastnik2023-02-09
|
* build(deps): bump cachix/install-nix-action from 18 to 19 (#5855)dependabot[bot]2023-02-06
| | | | | | | | | | | | | | | Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19) --- updated-dependencies: - dependency-name: cachix/install-nix-action 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>
* ci: Merge two jobsBlaž Hrastnik2022-12-13
|
* Use latest github runner imagesBlaž Hrastnik2022-12-13
|
* Use dtolnay/rust-toolchain in more placesBlaž Hrastnik2022-12-13
|
* Use `cargo fmt`'s --checkBlaž Hrastnik2022-12-02
|
* build(deps): bump Swatinem/rust-cache from 1 to 2 (#4843)dependabot[bot]2022-11-22
| | | | | | | | | | | | | | | | | | Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2) --- updated-dependencies: - dependency-name: Swatinem/rust-cache 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>
* ci: Simplify tag name fetching (set-output is deprecated)Blaž Hrastnik2022-11-22
|
* ci: Remove a bunch of actions-rs/cargo usesBlaž Hrastnik2022-11-22
|
* deps: Update tree-sitter-rust (supports let-else && let-chains)Alexis (Poliorcetics) Bourget2022-11-12
|
* Run clippy on workspace in CI (#4614)Jonathan LEI2022-11-07
|
* build(deps): bump cachix/cachix-action from 11 to 12 (#4547)dependabot[bot]2022-10-31
| | | | | | | | | | | | | | | | | 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>
* build(deps): bump cachix/install-nix-action from 17 to 18 (#4340)dependabot[bot]2022-10-18
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump cachix/cachix-action from 10 to 11 (#4339)dependabot[bot]2022-10-18
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Document MSRV policy (#3913)Pascal Kuthe2022-09-23
|
* raise msrv to 1.59 (#3896)Pascal Kuthe2022-09-19
|
* Strip release binary by setting `profile.release.strip` in a pre-build step ↵yvt2022-09-11
| | | | | | | (#3780) * chore(ci): remove the strip step from the release CI workflow * chore(ci): set `profile.release.strip = true` in the release CI workflow
* chore(ci): upgrade `actions/upload-artifact` to v3yvt2022-09-10
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* chore(ci): support "preview" release CI runsyvt2022-09-10
| | | | | | | | | | | | | | 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.
* Enable CI builds for `riscv64-linux` (#3685)yvt2022-09-10
|
* chore(ci): build AppImage for aarch64-linuxyvt2022-09-06
|
* chore(ci): build binary for aarch64-linuxyvt2022-09-06
|
* chore(ci): install a pre-release version of Crossyvt2022-09-06
|
* Fix cargo doc warnings, and add GitHub action to ensure it (#3650)A-Walrus2022-09-03
|
* build(nix): update nci, refactor flake, seperate wrapping, add source ↵Yusuf Bera Ertan2022-09-02
| | | | filtering (#3657)
* Add query-check xtaskMichael Davis2022-08-31
|
* chore(ci): match `*-macos` by checking suffix yvt2022-08-02
| | | | | Simplifies a conditional expression in the CI workflow configuration. Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* chore(ci): build binary for aarch64-macosyvt2022-08-02
| | | | | | 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.)
* add integration-test cargo aliasSkyler Hawthorne2022-06-19
|
* need the full languages config for integration testsSkyler Hawthorne2022-06-19
|
* use env var for integration test log levelSkyler Hawthorne2022-06-19
|
* 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.