summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
Commit message (Collapse)AuthorAge
* bump MSRV to 1.70.0 (#8877)Cole Helbling2023-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | * rust-toolchain.toml: bump MSRV to 1.70.0 With Firefox 120 released on 21 November 2023, the MSRV is now 1.70.0. * Fix cargo fmt with Rust 1.70.0 * Fix cargo clippy with Rust 1.70.0 * Fix cargo doc with Rust 1.70.0 * rust-toolchain.toml: add clippy component * .github: bump dtolnay/rust-toolchain to 1.70 * helix-term: bump rust-version to 1.70 * helix-view/gutter: use checked_ilog10 to count digits * helix-core/syntax: use MAIN_SEPARATOR_STR constant * helix-view/handlers/dap: use Display impl for displaying process spawn error * WIP: helix-term/commands: use checked math to assert ranges cannot overlap
* ci: Use a shared cache across build workflow stepsBlaž Hrastnik2023-10-31
|
* build(deps): bump actions/checkout from 3 to 4 (#8173)dependabot[bot]2023-09-05
| | | | | | | | | | | | | | | | 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update MSRV to 1.65Pascal Kuthe2023-03-05
|
* 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
|
* ci: Merge two jobsBlaž 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: Remove a bunch of actions-rs/cargo usesBlaž Hrastnik2022-11-22
|
* Run clippy on workspace in CI (#4614)Jonathan LEI2022-11-07
|
* Fix cargo doc warnings, and add GitHub action to ensure it (#3650)A-Walrus2022-09-03
|
* Add query-check xtaskMichael Davis2022-08-31
|
* 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
|
* 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.
* 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>
* 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>
* Run clippy on all targets (including tests)Blaž Hrastnik2022-01-25
|
* 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
|
* Only test on stable rustBlaž Hrastnik2021-06-07
| | | | Shorter CI times, and it should be good enough.
* 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.
* 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>
* Update workflows.Blaž Hrastnik2021-05-11