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
Aleksey Kladov
4310e0ebf9
Disable npm audit
...
At the moment it fails with unfixable minor vuln in a dev-dependency
2020-07-02 10:50:50 +02:00
vsrs
1797b665a4
vscode tests configuration for more verbose output
2020-05-23 17:07:25 +03:00
vsrs
e3223a7fd3
OS matrix for TypeScript
2020-05-23 16:39:30 +03:00
vsrs
a09b308b4e
xvfb-action fix
2020-05-23 16:24:21 +03:00
vsrs
12ea4a2ba2
Try GabrielBB/xvfb to run vscode tests
2020-05-23 16:13:47 +03:00
vsrs
bddbe16d93
Start xvfb manually on ubuntu
2020-05-23 16:04:14 +03:00
vsrs
ca230627c6
try to run TypeScript CI on windows
2020-05-23 15:37:07 +03:00
vsrs
1739a542f8
Add npm test
to CI
2020-05-23 15:20:46 +03:00
Laurențiu Nicola
ebf77c2bf7
Use actions-rs/install and /audit-check for cargo-audit
2020-04-11 14:32:53 +03:00
Aleksey Kladov
1b2d255be1
More general CI env var
2020-04-06 17:02:06 +02:00
Edwin Cheng
53058dd73a
Add back deny_c
2020-04-05 21:45:57 +08:00
Edwin Cheng
3277079412
Remove deny_c in CI
2020-04-03 18:11:28 +08:00
Aleksey Kladov
700ac8159a
Enable backtrace on CI
2020-03-30 10:49:11 +02:00
Aleksey Kladov
ee6fc4eca2
Don't deny C for cargo audit
...
It depends on openssl ;-(
2020-03-26 16:33:03 +01:00
Aleksey Kladov
ef6a0417f4
Specify env once for all jobs
2020-03-26 10:31:51 +01:00
veetaha
e1e41c8b32
cicd: revive npm audit
2020-03-18 23:15:48 +02:00
Aleksey Kladov
46c618f7d9
Disable npm audit, as it blocks unrelated PR without a way to fix
...
https://github.com/rust-analyzer/rust-analyzer/pull/3582#issuecomment-600107117
2020-03-17 15:43:14 +01:00
bjorn3
c98fa45d05
Fix cargo registry caching for builds
2020-03-16 18:46:33 +01:00
Aleksey Kladov
589100ad44
Fix audit caching better
2020-03-16 18:26:33 +01:00
Aleksey Kladov
a69118edd5
Fix cargo audit caching
...
See
https://github.com/actions/cache/issues/133#issuecomment-599102035
for chown bit
2020-03-16 18:17:53 +01:00
Aleksey Kladov
78879851bb
Actually make npm audit more robust
...
In bash, && and || have the same priority.
2020-03-16 18:05:01 +01:00
Aleksey Kladov
baf10c3f16
Cache cargo-audit on CI
...
closes #3399
2020-03-16 17:57:07 +01:00
Aleksey Kladov
ca99023185
Retry rust audit as well
...
https://github.com/rust-analyzer/rust-analyzer/runs/511553989?check_suite_focus=true#step:3:6
2020-03-16 17:35:52 +01:00
Aleksey Kladov
1aa5d5dc21
Make audit more reliable
...
I've seen this transient error a couple of times:
https://github.com/rust-analyzer/rust-analyzer/runs/511162809?check_suite_focus=true#step:5:8
2020-03-16 15:13:38 +01:00
CAD97
cf140ac995
Use actions/checkout@v2
2020-03-06 20:32:03 -05:00
Aleksey Kladov
1e305b89ed
Remove needless dep
2020-03-04 18:05:29 +01:00
Aleksey Kladov
ff17b0ba48
Deindent YAML
2020-03-04 17:01:38 +01:00
Christopher Durham
e070553cef
Clean xtask partial artifacts in xtask pre-cache
2020-03-02 23:50:10 -05:00
Aleksey Kladov
356395139c
Actually gate CI on eslint
2020-02-27 10:40:53 +01:00
Aleksey Kladov
cfc6abed9d
Merge pull request #3330 from Veetaha/feature/cargo-audit
...
cicd: add cargo audit
2020-02-26 22:00:30 +01:00
Veetaha
23907b5d4c
cicd: add cargo audit
2020-02-26 22:28:23 +02:00
Veetaha
4291b61810
vscode: added audit at ci
2020-02-26 22:01:09 +02:00
Aleksey Kladov
5e1d0e4ae4
Check that we use no C deps on CI
...
C deps are not a problem for a typical build, but cause issues in more
esoteric scenarios, like cross-compiling. Let's check that we don't
have them.
Setting `CC` to some dummy value should do the trick, as custom build
scripts typically respect this variable.
2020-02-19 22:24:29 +01:00