34
34
- 'editors/code/**'
35
35
36
36
proc-macro-srv :
37
- needs : changes
38
37
if : github.repository == 'rust-lang/rust-analyzer'
39
38
name : proc-macro-srv
40
39
runs-on : ubuntu-latest
89
88
run : |
90
89
rustup update --no-self-update stable
91
90
rustup default stable
92
- rustup component add --toolchain stable rust-src
91
+ rustup component add --toolchain stable rust-src clippy
93
92
# We always use a nightly rustfmt, regardless of channel, because we need
94
93
# --file-lines.
95
94
rustup toolchain install nightly --profile minimal --component rustfmt
@@ -99,11 +98,11 @@ jobs:
99
98
run : echo "::add-matcher::.github/rust.json"
100
99
101
100
- name : Cache Dependencies
102
- uses : Swatinem/rust-cache@27b8ea9368cf428f0bfe41b0876b1a7e809d9844
101
+ uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
103
102
with :
104
103
workspaces : |
105
104
. -> target
106
- crates/proc-macro-srv/proc-macro-test/imp -> target
105
+ ./ crates/proc-macro-srv/proc-macro-test/imp -> target
107
106
108
107
- uses : taiki-e/install-action@nextest
109
108
@@ -126,21 +125,15 @@ jobs:
126
125
if : matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' || github.event_name == 'push'
127
126
run : cargo nextest run --no-fail-fast --hide-progress-bar --status-level fail
128
127
129
- - name : Switch to stable toolchain
130
- run : |
131
- rustup update --no-self-update stable
132
- rustup component add --toolchain stable rust-src clippy
133
- rustup default stable
134
-
135
128
- name : Run analysis-stats on rust-analyzer
136
129
if : matrix.os == 'ubuntu-latest'
137
- run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats .
130
+ run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats . -q
138
131
139
132
- name : Run analysis-stats on the rust standard libraries
140
133
if : matrix.os == 'ubuntu-latest'
141
134
env :
142
135
RUSTC_BOOTSTRAP : 1
143
- run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps --no-sysroot --no-test $(rustc --print sysroot)/lib/rustlib/src/rust/library/
136
+ run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps --no-sysroot --no-test $(rustc --print sysroot)/lib/rustlib/src/rust/library/ -q
144
137
145
138
- name : clippy
146
139
if : matrix.os == 'macos-latest'
@@ -166,7 +159,10 @@ jobs:
166
159
rustup component add miri --toolchain nightly
167
160
168
161
- name : Cache Dependencies
169
- uses : Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
162
+ uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
163
+ with :
164
+ workspaces : |
165
+ . -> target
170
166
171
167
- run : cargo +nightly miri test -p intern --locked
172
168
@@ -193,7 +189,7 @@ jobs:
193
189
rustup target add ${{ env.targets }} ${{ env.targets_ide }}
194
190
195
191
- name : Cache Dependencies
196
- uses : Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
192
+ uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
197
193
198
194
- name : Check
199
195
run : |
0 commit comments