Commit Graph

111 Commits

Author SHA1 Message Date
Lukas Wirth
928a378c6d Lock paths-filter action to a specific commit 2023-05-03 13:36:04 +02:00
bors
05a6286fb2 Auto merge of #14446 - Veykril:ci, r=Veykril
internal: Only run typescript CI when VSCode files change
2023-04-13 09:11:50 +00:00
Lukas Wirth
40adedcb96 internal: Only run typescript CI when VSCode files change 2023-04-13 10:52:40 +02:00
Lukas Wirth
c4582f6d18 Fix visibilities 2023-03-29 11:32:36 +02:00
Lukas Wirth
afe52d270d Run proc-macro-srv tests on rust-lang/rust-analyzer 2023-03-29 11:20:57 +02:00
Laurențiu Nicola
7bf6f188de Bump actions/setup-node 2022-10-15 14:47:53 +03:00
bors
af987dafcb Auto merge of #13414 - lnicola:bump-cache, r=lnicola
minor: Bump `Swatinem/rust-cache` to move off Node 12
2022-10-14 14:32:00 +00:00
Laurențiu Nicola
d2d1c1e3ca Bump Swatinem/rust-cache to move off Node 12 2022-10-14 17:31:22 +03:00
Laurențiu Nicola
4adf09bc8a Run analysis-stats on CI 2022-10-13 13:57:15 +03:00
Laurențiu Nicola
73e91dda50 Set opt-level = 1 on dev profile 2022-10-12 17:44:15 +03:00
Lukas Wirth
c6b7f45308 Don't run rust-2021-compatibility lints, our crates are already on 2021 2022-09-01 15:04:55 +02:00
Laurențiu Nicola
1ce978370b Use Node 16 in CI workflows 2022-08-12 18:19:48 +03:00
Aleksey Kladov
c205c629ef try fixing spurious CI failures on windows
It seems like it may be related to self-update? Anyways, I think we
should be disabling self-update on CI
2022-07-16 11:42:28 +01:00
Aleksey Kladov
b49f2a2b43 Remove deprecate action
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
Aleksey Kladov
f4fe2ea227 Remove deprecate action
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
David Tolnay
5bea4ba224
Update GitHub Actions actions/checkout@v2 to v3
The v2 implementation uses Node 12, which is end-of-life on April 30, 2022.
See https://nodejs.org/en/about/releases/. Update to v3, which is based on
Node 16 whose support lasts until April 30, 2024.
2022-04-30 13:56:03 -07:00
Lukas Wirth
baaf18b1e1 minor: Don't run CI on master branch 2022-04-14 00:42:51 +02:00
Deadbeef
8b60bf6764 Update CI for Rust bors 2022-04-13 16:55:10 +02:00
Lukas Wirth
be34896433 minor: prepare CI for rust-lang move 2022-04-13 12:26:24 +02:00
Laurențiu Nicola
45d2262963 Gate workflows to only run on upstream 2021-12-22 21:31:22 +02:00
Laurențiu Nicola
b91003222b Bump to Node 14 2021-12-01 13:12:32 +02:00
Laurențiu Nicola
5b7ffad924 Use xvfb-run directly 2021-12-01 13:12:32 +02:00
Laurențiu Nicola
df4d55bdea Bump xvfb-action to fix Code tests 2021-12-01 12:52:24 +02:00
Chayim Refael Friedman
36bdb5c94d Type-check TS on CI and also turn off the strict setting useUnknownInCatchVariables
We don't follow it and I found that turning it on will have little benefit.
2021-11-04 01:23:45 +02:00
Aleksey Kladov
1850849325 internal: prep to 2021 edition 2021-08-20 16:20:18 +03:00
Aleksey Kladov
ab6efb32a3 internal: easier to skim CI logs 2021-07-20 15:55:44 +03:00
Florian Diebold
c61fee6d55 Fix compilation on WASM
Fixes #9214.
Fixes #9210.
2021-06-22 22:01:06 +02:00
bors[bot]
242fa3c15b
Merge #8427
8427: Move CI to rust-cache Action r=matklad a=Swatinem

This is humbling. I actually took inspiration from RAs pre-cache xtask when developing my action ;-)

Closes #7731

Co-authored-by: Arpad Borsos <swatinem@swatinem.de>
2021-05-03 13:37:12 +00:00
Aleksey Kladov
e012efca27 Let's try testing for "is not quadratic" condition 2021-04-10 12:43:07 +03:00
Arpad Borsos
3ce59b93e6
pin cache action 2021-04-08 20:44:44 +02:00
Arpad Borsos
9c022e3013
Move CI to rust-cache Action 2021-04-08 18:55:28 +02:00
Florian Diebold
8c196056d5 Remove pinned Rust version again 2021-02-12 16:31:16 +01:00
Jonas Schievink
70f388cedb Pin Rust to 1.49.0 on CI 2021-02-12 13:05:56 +01:00
Aleksey Kladov
ba8d6d1e4e Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
Aleksey Kladov
b610118453 Deny unreachable-pub
It's very useful when `pub` is equivalent to "this is crate's public
API", let's enforce this!

Ideally, we should enforce it for local `cargo test`, and only during
CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
2020-11-02 14:07:08 +01:00
Jonas Schievink
1cb64a70d6 Add comment and link to upstream issue 2020-10-12 19:55:55 +02:00
Jonas Schievink
f8be6c636c macOS: install GNU tar 2020-10-12 19:51:49 +02:00
Aleksey Kladov
dddd580651 "How I survived Git" tips 2020-09-01 09:50:48 +02:00
dragfire
cdebf02e54 Add a test that forbids merge commits 2020-08-31 12:29:07 -06:00
Aleksey Kladov
90cb4bbbb9 Remove usless pre-cache task
We are not cleaning the rest of xtask artifacts, so this effectively
does nothing. xtask is small and changes rarely, so this shouldn't
really matter.
2020-08-18 11:19:44 +02:00
Aleksey Kladov
80ab6c8cd5 Re-enable mac build 2020-08-18 09:38:32 +02:00
Aleksey Kladov
982b299252 Temporary disable MacOS builder
GH Actions is not feeling great today :-(
2020-08-13 10:57:09 +02:00
Aleksey Kladov
e30be7ad15 Disabe macros TypeSCript builder
It hangs for some reason, and we are moving TS extension anyways...
2020-08-13 10:35:11 +02:00
Aleksey Kladov
5534bc0321 Completely remove cargo audit
My current feeling is that the build maintenance friction it creates
is not proportional to the benefits it provides.

We are pretty frugal with the set of Rust dependencies, and our
security model is "we run build.rs and proc macros", so it doesn't
seem like cargo audit could help us much.
2020-08-12 15:54:39 +02:00
Jonas Schievink
67b2b3d0ce Fix build on musl and test it in CI 2020-08-12 12:23:25 +02:00
Veetaha
3d6fc649f2 Remove the premissions-misconifguration bug workarounds on CI 2020-07-29 23:58:47 +03:00
Aleksey Kladov
c3ce89145d Disable audit step
See https://github.com/actions-rs/install/issues/6
2020-07-16 10:15:13 +02:00
Yuki Okushi
9a93249cd1
Update actions/cache to v2 2020-07-14 20:16:13 +09:00
Aleksey Kladov
9c1f3aad62 Check power on CI 2020-07-14 11:01:18 +02:00
Aleksey Kladov
2752f2dccf check cargo.lock 2020-07-07 16:01:05 +02:00