mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
github action: Add clippy check
Because the existing warnings are all fixed. Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
8
.github/workflows/bvt.yaml
vendored
8
.github/workflows/bvt.yaml
vendored
@@ -17,6 +17,13 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: rustup component add rustfmt
|
||||
- run: make fmt
|
||||
clippy:
|
||||
name: Clippy Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: rustup component add clippy
|
||||
- run: make clippy
|
||||
test:
|
||||
name: Run Unit Test
|
||||
runs-on: ubuntu-latest
|
||||
@@ -24,3 +31,4 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: make test
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user