Skip to content

Commit

Permalink
Enhance cargo clippy test in CI
Browse files Browse the repository at this point in the history
Fix confidential-containers#636
Fix confidential-containers#637

Signed-off-by: Wei Liu <wei3.liu@intel.com>
  • Loading branch information
liuw1 authored and jyao1 committed Dec 27, 2023
1 parent f7f1f1e commit 3789296
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ jobs:
override: true
components: clippy

- name: Add target
run: rustup target add x86_64-unknown-none

- name: Preparation Work
run: make preparation

- name: Run cargo clippy
run: cargo clippy -- -A clippy::redundant_field_names
run: cargo clippy --all-features --target=x86_64-unknown-none

rustfmt:
name: Format
Expand Down

0 comments on commit 3789296

Please sign in to comment.