Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/lint_clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ jobs:
override: true
components: clippy

- name: check clippy errors
- name: check clippy errors (with "--features stub_supervisor_api_client")
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets --workspace -- -D warnings
args: --features stub_supervisor_api_client --all-targets -- -D warnings

- name: check clippy errors (with "--features score_supervisor_api_client")
uses: actions-rs/cargo@v1
with:
command: clippy
args: --features score_supervisor_api_client --no-default-features --all-targets -- -D warnings
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"rust-analyzer.cargo.cfgs": [
"!miri"
],
"rust-analyzer.cargo.features": [
"stub_supervisor_api_client"
],
"rust-analyzer.check.command": "clippy",
"rust-analyzer.rustfmt.overrideCommand": [
"${workspaceFolder}/.vscode/rustfmt.sh"
Expand Down
Loading
Loading