aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
Commit message (Collapse)AuthorAge
* 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