mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Changed CI and default.json to run clippy
This commit is contained in:
parent
ec015d4607
commit
e7540d2833
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
run: |
|
||||
rustup set profile minimal
|
||||
rustup update stable
|
||||
rustup component add clippy
|
||||
rustup target add wasm32-wasi
|
||||
|
||||
- name: Install Node
|
||||
@ -40,6 +41,9 @@ jobs:
|
||||
with:
|
||||
clean: false
|
||||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --workspace -- -D warnings
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --workspace --no-fail-fast
|
||||
|
||||
|
@ -145,5 +145,22 @@
|
||||
"tab_size": 2
|
||||
}
|
||||
},
|
||||
"lsp": {}
|
||||
//LSP Specific settings.
|
||||
"lsp": {
|
||||
//Specify the LSP name as a key here.
|
||||
//As of 8/10/22, supported LSPs are:
|
||||
//pyright
|
||||
//gopls
|
||||
//rust-analyzer
|
||||
//typescript-language-server
|
||||
//vscode-json-languageserver
|
||||
"rust_analyzer": {
|
||||
//These initialization options are merged into Zed's defaults
|
||||
"initialization_options": {
|
||||
"checkOnSave": {
|
||||
"command": "clippy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user