Commit Graph
108 Commits
Author SHA1 Message Date
Kirill Bulatov 11d2930906 Upgrade GH actions to reduce CI warnings (#7403)
Deals with one of the warnings GH shows on our actions run:

https://github.com/zed-industries/zed/actions/runs/7790218555
<img width="1383" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/e523ec7c-bf43-4b0d-8c36-8540aef6fae9">

bufbuild/* actions seem to have no new major versions so there's nothing
new to upgrade to.

Release Notes:

- N/A
2024-02-05 22:26:56 +02:00
Conrad Irwin 860d38e2d7 Add a checksum telemetry request (#7168)
We're seeing a bit of nonsense on telemetry. Although the checksum seed
isn't secret per-se, it does make sending nonsense a little more effort.

Release Notes:

- N/A
2024-01-31 15:44:38 -07:00
0x29a 836beb2eeb ci: Bump actions/checkout to v4 (#6736)
change:

- bump actions/checkout version

Release Notes:

- N/A
2024-01-25 21:03:23 -05:00
Conrad Irwin 7397cb2a25 Run tests even if lint/fmt/spell/squawk fails 2024-01-22 10:00:32 -07:00
Mikayla db8cb86abb Adjust config 2024-01-17 17:07:04 -08:00
Mikayla f962c66104 Use cargo to install typo check 2024-01-17 17:00:07 -08:00
Mikayla aba6b33863 Add typos ci 2024-01-17 15:33:14 -08:00
Kirill BulatovandPiotr 392bce9452 Remove redundant install Rust steps
Those were not installing Rust but configuring it via rustup, and
those configurations were done on `stable` toolchain which is not what we use (see rust-toolchain.toml)

co-authored-by: Piotr <piotr@zed.dev>
2024-01-11 14:11:13 +02:00
Kirill Bulatov 49f7129b68 Enfoce no dbg! and todo! in Rust code via clippy lints in the CI job 2024-01-11 00:26:46 +02:00
Kirill Bulatov 006279fada Do not run the same workflow concurrently on non-main branches 2023-12-06 22:19:48 +02:00
Kirill Bulatov cbc55cf8a9 Do not bundle Zed on main branch commits 2023-12-06 16:58:49 +02:00
Kirill Bulatov 62ec474a88 Format the CI file with Zed's default prettier 2023-12-06 16:58:18 +02:00
Kirill Bulatov 7e0e979c7b Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
Piotr Osiewicz 2091d6f028 ci: Add ci-config.toml in .cargo folder. 2023-11-22 22:25:26 +01:00
Kirill Bulatov 1aa37bafa5 If enabled, search in ignored files during project search 2023-11-22 16:41:02 +02:00
Piotr Osiewicz 47a59b09d1 Bump artifact size limit for CI to 100GB 2023-11-22 15:14:24 +01:00
Piotr Osiewicz 538adedbf1 Use printf instead of echo 2023-11-22 14:41:26 +01:00
Piotr Osiewicz 6df0319369 Change tabs to spaces 2023-11-22 14:37:41 +01:00
Piotr Osiewicz ae4b4e55e9 chore/CI: place .cargo/config.toml augmentations in ~/.cargo/config.toml 2023-11-22 14:36:10 +01:00
Max Brunsfeld e56372d3c7 Build nightly release based on 'nightly' tag, not any tag w/ nightly prefix 2023-11-17 17:21:35 -08:00
773e324ccb Check out repo outside of reusable actions
Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Kirill <kirill@zed.dev>
2023-11-17 14:14:03 -08:00
a2a13208fa Wire up release_nightly workflow, to upload artifacts to DO spaces
Co-authored-by: Kirill <kirill@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-17 14:07:51 -08:00
Kirill Bulatov 6db4451b25 Create new Zed release channel: nightly 2023-11-17 12:13:32 +02:00
Conrad Irwin 31f6f4ec82 Don't generate licenses on every PR 2023-11-07 14:33:19 -07:00
Kirill Bulatov bb04b5a0eb Update another deprecated plugin 2023-07-13 11:52:35 +03:00
Kirill Bulatov 494b26bd13 Update checkout actions 2023-07-12 22:18:37 +03:00
Piotr Osiewicz fae9b9cb89 Use nextest instead of test (#2639)
This should speed up our test CI by a minute or so. =)

[current best case CI
run](https://github.com/zed-industries/zed/actions/runs/5337351944/jobs/9673291188),
where we don't rebuild anything (and only run tests) takes about 2m30s
[with
nextest](https://github.com/zed-industries/zed/actions/runs/5346819257/jobs/9694617720?pr=2639),
that's down to 1m30s.
Release Notes:
- N/A
2023-06-22 16:50:26 +02:00
Piotr Osiewicz 55d80f9365 Revert "chore: bump MSRV to 1.70" (#2577)
Reverts zed-industries/zed#2573
2023-06-06 22:21:34 +02:00
Piotr Osiewicz 5532ce10f1 chore: bump MSRV to 1.70 (#2573)
Add rust-toolchain.toml

Release Notes:

- N/A
2023-06-06 21:50:27 +02:00
Joseph Lyons bdc5fe76db Remove code sending zed events to mixpanel 2023-06-05 15:33:17 -04:00
Kirill Bulatov d2f57a1759 Unite dmg build jobs 2023-05-18 13:49:55 +03:00
Mikayla Maki 8b6d8f9528 Add a dependency on rustfmt to the CI tests 2023-05-17 14:17:10 -07:00
Max Brunsfeld e45eccbf82 ci: clear the target dir if it gets too big 2023-05-11 09:43:13 -07:00
Max Brunsfeld e3d920ed01 Use Node 18 on CI, for fetch API 2023-04-17 16:22:30 -07:00
Max Brunsfeld 29255b8ba7 Run check-formatting CI job on a mac mini 2023-02-22 15:35:05 -08:00
Julia 5082654241 Enforce rustfmt on CI & clean up some let-else format errors 2023-02-20 13:27:35 -05:00
JuliaandNathan Sobo 770a30e331 Cargo check before test to catch warnings/errors
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-02-15 17:53:28 -05:00
Max Brunsfeld 7c3ed89758 Run CI for version branches but not all branches starting with 'v' 2023-01-26 14:57:24 -08:00
Mikayla Maki 13381a7b4d Added cargo-about auto-install and CI steps 2023-01-23 12:51:32 -08:00
Max BrunsfeldandNate Butler a907ada44e Fix compile errors in seed script, ensure it is compiled on CI
Co-authored-by: Nate Butler <nate@zed.dev>
2022-11-14 11:12:25 -08:00
Max Brunsfeld a9cdf4201a Add missing cfg(test) attribute to sqlite RowsAffected 2022-11-10 15:04:57 -08:00
Joseph T Lyons 4eaebda80c Remove Amplitude event tracking 2022-11-01 20:49:49 -04:00
Max Brunsfeld 42b7360811 Run CI when pushing to release branches (e.g. 'v0.62.x') 2022-10-27 13:03:35 -07:00
Max Brunsfeld ce64dda817 Merge pull request #1822 from zed-industries/dont-bundle-app-on-prs
Don't bundle the app on CI for PRs
2022-10-27 10:10:29 -07:00
Max Brunsfeld d256e1285f Clear out bundle directory before creating a new app bundle 2022-10-26 17:49:03 -07:00
Max Brunsfeld 09c0f773be Fix environment variable reference in bundle app job 2022-10-26 17:34:53 -07:00
Max Brunsfeld 38e111ea14 Don't bundle the app on CI for PRs
Just run that job on main and for release tags
2022-10-26 17:26:16 -07:00
Max Brunsfeld 53ba3ffa45 Fix error in bundle app CI job 2022-10-26 17:21:31 -07:00
Max Brunsfeld c98a075e21 Store current release channel name in a file in the zed crate 2022-10-26 16:19:19 -07:00
Max Brunsfeld d228d8413b Create preview channel 2022-10-26 16:19:19 -07:00