Commit graph

85 commits

Author SHA1 Message Date
veetaha
e1e41c8b32 cicd: revive npm audit 2020-03-18 23:15:48 +02:00
Aleksey Kladov
a8ddea8d1c Don't filter release by fork
This syntax does not work for some reason

https://github.com/rust-analyzer/rust-analyzer/runs/515231288?check_suite_focus=true
2020-03-18 09:43:49 +01: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
Aleksey Kladov
96f19c3af9
Merge pull request #3613 from bjorn3/patch-1
Fix cargo registry caching for builds
2020-03-17 11:14:25 +01:00
Aleksey Kladov
a350dff4cf
Update .github/workflows/release.yaml
Co-Authored-By: Florian Diebold <flodiebold@googlemail.com>
2020-03-17 09:41:27 +01:00
Swarnim Arun
a9300934f9
Gate release action to rust-analyzer owner 2020-03-17 03:09:02 +05:30
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
Aleksey Kladov
bf3eef8897 Set extension version during release 2020-03-09 14:24:00 +01:00
Aleksey Kladov
cb63932690 Install Node only for Linux
Hopefully, this will lead to fewer errors like

https://github.com/rust-analyzer/rust-analyzer/runs/493983317?check_suite_focus=true#step:5:10
2020-03-09 10:06:17 +01:00
CAD97
cf140ac995 Use actions/checkout@v2 2020-03-06 20:32:03 -05:00
Aleksey Kladov
ab11c6f08a Back to usual nightly schedule 2020-03-05 13:41:41 +01:00
Aleksey Kladov
94c48980bb Set release name 2020-03-05 12:22:14 +01:00
Aleksey Kladov
e15cef70db Try testing release workflow 2020-03-05 10:45:40 +01:00
Aleksey Kladov
5f1fc94523 minor 2020-03-05 10:43:32 +01:00
Aleksey Kladov
41ba0cef46 Fix nightly release 2020-03-05 10:29:43 +01:00
Aleksey Kladov
be814a65a3 Install node for release 2020-03-04 20:04:10 +01:00
Aleksey Kladov
ce663ed495
Merge pull request #3461 from matklad/dist
Use xtask dist for releases
2020-03-04 18:59:06 +01:00
Aleksey Kladov
f1a0e16ecf Fix rustdoc some more 2020-03-04 18:58:33 +01:00
Aleksey Kladov
6647e817e2 Use xtask dist for releases 2020-03-04 18:56:52 +01:00
Aleksey Kladov
f8dadf896c Fix yaml syntax 2020-03-04 18:55:23 +01:00
Aleksey Kladov
558608548f Hopefully fix YAML syntax 2020-03-04 18:45:56 +01:00
Aleksey Kladov
fd586e58d9 cargo xtask dist
This builds the typescript extension
2020-03-04 18:18:20 +01:00
Aleksey Kladov
e5aed5c593 Update rustdoc action 2020-03-04 18:09:10 +01:00
Aleksey Kladov
1e305b89ed Remove needless dep 2020-03-04 18:05:29 +01:00
Aleksey Kladov
86ec5b3917 Nightly binary releases
This doesn't publish nightly plugin to the marketplace yet
2020-03-04 17:18:37 +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
Aleksey Kladov
c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +01:00
Aleksey Kladov
d71ddeaced Gate stuff on CI 2020-02-18 01:05:52 +01:00
Aleksey Kladov
94fb9ad6b3 Fix extension name 2020-02-17 15:35:06 +01:00
Aleksey Kladov
13d793929a Fix release process once more 2020-02-17 15:13:06 +01:00
Aleksey Kladov
8c51ebec45 Fix release process 2020-02-17 14:55:36 +01:00
Veetaha
7ff274470e cicd: simplify vsce call 2020-02-16 01:40:07 +02:00
Aleksey Kladov
3c98681d4e Third time's a charm? 2020-02-11 11:44:29 +01:00
Aleksey Kladov
a0b065a296 Fix release 2020-02-11 11:23:04 +01:00
Aleksey Kladov
27ddb127db Publish VS Code extension automatically 2020-02-11 10:55:44 +01:00
Aleksey Kladov
5b703bdc58 eamcs is now upstreamed 2020-02-10 15:55:21 +01:00
Aleksey Kladov
f4fd91a7fe Make sure release uses the release branch, and not master 2020-01-29 13:19:51 +01:00
Aleksey Kladov
b982d60a4d Don't fail fast on CI 2020-01-22 11:53:47 +01:00