File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
build/azure-pipelines/cli Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ parameters:
11
11
12
12
steps :
13
13
- ${{ if parameters.VSCODE_CHECK_ONLY }} :
14
- - script : cargo clippy --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
14
+ - script : rustup component add clippy && cargo clippy --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
15
15
displayName : Lint ${{ parameters.VSCODE_CLI_TARGET }}
16
16
workingDirectory : $(Build.SourcesDirectory)/cli
17
17
env :
18
18
CARGO_NET_GIT_FETCH_WITH_CLI : true
19
19
${{ each pair in parameters.VSCODE_CLI_ENV }} :
20
20
${{ pair.key }} : ${{ pair.value }}
21
+
21
22
- ${{ else }} :
22
23
- script : cargo build --release --target ${{ parameters.VSCODE_CLI_TARGET }} --bin=code
23
24
displayName : Compile ${{ parameters.VSCODE_CLI_TARGET }}
You can’t perform that action at this time.
0 commit comments