Commit Graph

282 Commits

Author SHA1 Message Date
Tetsuharu Ohzeki
5cca093fa8 editor/code: Break down CI steps to know what is failing easily
To do this change, we reorganize npm-script.

| previous           | after                                  |
|--------------------|----------------------------------------|
| `npm run lint`     | `npm run lint && npm run format:check` |
| `npm run fix`      | `npm run lint:fix && npm run format`   |

The previous `npm run fix` sometimes does not complete fix automatically
because ESLint's autofix doees not follow prettier's formatting.
So we need to run `npm run lint:fix && npm run format` by this order.
2023-07-23 01:51:57 +09:00
Lukas Wirth
415b527855 Default to stable toolchain for metrics workflow 2023-07-13 10:54:24 +02:00
Raghul Nanth A
eb85c8f70b
fix(metrics): Push to master branch 2023-06-28 23:11:35 +05:30
bors
ac4e046c69 Auto merge of #15030 - NanthR:parallel-metrics, r=HKalbasi
ci(metrics): Run measurement functions in parallel

Resolves #14853
2023-06-28 15:02:51 +00:00
Raghul Nanth A
cf34df020d fix(metrics): Add repo check 2023-06-28 18:13:24 +05:30
David Lattimore
a92ec742d3 autopublish: Rename crates after removing libs from workspace 2023-06-27 07:50:57 +10:00
Raghul Nanth A
506153b9f3 refactor(workflow): Use build matrix 2023-06-24 23:35:35 +05:30
Raghul Nanth A
68e64025fd fix(name): Push to rust-analyzer metrics repo 2023-06-24 22:33:33 +05:30
Raghul Nanth A
f15e026101 ci(metrics): Run measurement functions in parallel
feat(xtask): Split metrics function
2023-06-12 01:22:34 +05:30
bors
cee7a72d81 Auto merge of #14827 - davidlattimore:autopublish-offset, r=Veykril
autopublish: Offset version number

The workflow is currently failing because it's trying to publish 0.0.16, while the last version published was 0.0.149.
2023-06-10 11:33:06 +00:00
Lukas Wirth
a6bef7808f fix: Fix proc-macro slow test 2023-06-07 07:03:27 +02:00
Lukas Wirth
ef09558575 fix: Fix ci never running on nightly when proc-macro things change 2023-06-06 23:02:58 +02:00
David Lattimore
67f1c3cd16 autopublish: Offset version number
The workflow is currently failing because it's trying to publish 0.0.16,
while the last version published was 0.0.149.
2023-05-29 21:24:20 +10:00
Lukas Wirth
35b208aaa7 Filter out unused cargo features from config 2023-05-26 22:16:34 +02:00
Lukas Wirth
934df697e3 Add the toolchain channel as a caching key for CI 2023-05-26 20:30:54 +02:00
Lukas Wirth
28442403a4 Run CI on nightly rust when proc-macro-* crates change 2023-05-26 20:24:28 +02:00
Ariel Davis
913c1b846e Publish libs on master push 2023-05-07 02:40:37 -07:00
Lukas Wirth
928a378c6d Lock paths-filter action to a specific commit 2023-05-03 13:36:04 +02:00
bors
65ac9f4602 Auto merge of #14646 - jsoref:patch-1, r=jsoref
Fix readme

https://github.com/rust-lang/rust-analyzer/pull/14577#discussion_r1175611012
2023-04-24 19:42:39 +00:00
Josh Soref
0600ca96b3 Fix readme
https://github.com/rust-lang/rust-analyzer/pull/14577#discussion_r1175611012
2023-04-24 15:39:00 -04:00
Matthijs van der Vleuten
12cf9b6788 Specify --pre-release when publishing vsce nightly
According to https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions, when publishing pre-release versions, `--pre-release` must also be passed in the publish step.

Currently the behavior with and without the flag seems to be the same, but since it's documented to be required, don't rely on this staying that way.

This flag was previously removed in #13020, so this partially reverts that change.
2023-04-24 21:02:24 +02:00
Josh Soref
bc7d84c3ce Spelling
* a rule
* access
* after
* amount
* annotations
* assignment
* assist
* associated
* attribute
* borrowed
* built-in type
* clarification
* command
* const
* constructor
* corresponding
* counterparts
* curlies
* dependencies
* deterministic
* diagnostic
* duplicates
* edge
* edited
* efficient
* elsewhere
* execution
* expression
* extensions
* extracted
* fill
* github
* helper
* heuristic
* incomplete
* indent end
* inlay
* invocation
* lifetime
* looking
* maybe
* move
* mutability
* mutable
* necessarily
* necessary
* negative
* nonexistent
* occurred
* offsets
* offsetted
* overridden
* parameters
* params
* params_and_where_preds_in_scope
* paredit
* parent
* parentheses
* prepended if
* punctuation
* receive
* receiver
* referring
* repeated
* representing
* semantically
* separately
* shouldnot
* siblings
* similar
* something's
* statement
* struct
* structure
* surprise
* the
* this
* transparent
* unimplemented
* unnamed
* unnecessary
* unneeded
* unreachable
* unterminated
* utilities
* variant
* variants
* visibility
* work around (v)
* workaround

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-19 09:45:55 -04: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
87d6107f19 Build i686-pc-windows-msvc binaries 2023-02-11 17:50:48 +02:00
bors
3bc33c7e9f Auto merge of #14010 - silvergasp:ci, r=lnicola
fuzz: Fixes broken Cargo.toml for fuzz tests

Fixes broken Cargo.toml for fuzz tests and adds building of fuzz tests to the CI.
2023-02-03 11:15:54 +00:00
Laurențiu Nicola
05d7d33a0f
Update .github/workflows/fuzz.yml 2023-02-03 13:15:27 +02:00
Lukas Wirth
b97c191ff3 Add more basic issue templates with auto category labeling 2023-02-03 10:48:37 +01:00
Jonas Schievink
7cb0cfa3aa Try to fix auto-publishing of lib crates 2023-01-25 15:02:52 +01:00
Nathaniel Brough
6c4749e8f5 fix(fuzz): Fixes broken Cargo.toml for fuzz tests
Fixes broken Cargo.toml for fuzz tests and adds building of
fuzz tests to the CI.
2023-01-24 10:54:10 -08:00
Laurențiu Nicola
220996c5c1 Tweak wording and remove blank issue template 2023-01-10 17:25:02 +02:00
Lukas Wirth
ef4616822b minor: Update github issue templates 2022-11-05 13:29:44 +01:00
Laurențiu Nicola
6073e58e30 Allow ovsx publishing to fail 2022-11-03 15:42:55 +02:00
bors
f0797929e5 Auto merge of #13302 - Veykril:auto-publish, r=Veykril
Don't auto-publish lib crates

I believe this should *just* work? With this cargo-workspaces should not consider them
2022-10-17 10:22:25 +00:00
Laurențiu Nicola
7bf6f188de Bump actions/setup-node 2022-10-15 14:47:53 +03:00
bors
018b8429cf Auto merge of #13415 - lnicola:ovsx-timeout, r=lnicola
internal: Set a timeout when publishing to OVSX

CC https://github.com/rust-lang/rust-analyzer/issues/11080#issuecomment-1279212120
2022-10-14 16:39:16 +00:00
Laurențiu Nicola
f94d8d8940 Set a timeout when publishing to OVSX 2022-10-14 19:38:50 +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
f310d4cbb4 Don't auto-publish lib crates 2022-09-27 18:22:06 +02:00
Spencer
73d759955f
use rustup minimal profile and add curl retries 2022-09-10 23:43:33 -07:00
Spencer
ae57150d0d
add rustup bin to path 2022-09-10 23:29:15 -07:00
Spencer
dd65588c51
install rustup directly 2022-09-10 23:25:30 -07:00
Spencer
b843b8801d
revert conditional logic for apt update step 2022-09-10 18:10:56 -07:00
Spencer Sharkey
54fe5b7fc2 use ubuntu 18.04 container for release 2022-09-09 21:23:02 -07:00
Aleksey Kladov
61ad33da42 internal: ignore failures when publishing to ovsx
This has been failing for a while

https://github.com/rust-lang/rust-analyzer/runs/8147683225?check_suite_focus=true#step:24:19
2022-09-02 11:48:58 +01:00