Skip to content

Commit f62f939

Browse files
committed
Enable clippy as a CI check
1 parent 8ad93ab commit f62f939

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,21 @@ jobs:
6767
env:
6868
SYSTEM_DEPS_DAV1D_BUILD_INTERNAL: always
6969
clippy:
70-
runs-on: ubuntu-latest
70+
runs-on: ubuntu-20.04
7171
steps:
72+
- name: install-dependencies
73+
run: sudo apt update && sudo apt install ninja-build meson nasm
7274
- uses: actions/checkout@v2
7375
- uses: actions-rs/toolchain@v1
7476
with:
7577
toolchain: stable
7678
override: true
7779
components: clippy
78-
- name: Run clippy check
79-
uses: actions-rs/cargo@v1
80+
- uses: actions-rs/cargo@v1
8081
with:
81-
command: clippy
82+
args: clippy --all-features -- -D warnings
83+
env:
84+
SYSTEM_DEPS_DAV1D_BUILD_INTERNAL: always
8285
build_fuzz_afl:
8386
name: "Fuzz targets (afl)"
8487
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)