Skip to content

Commit f0abbd8

Browse files
committed
ci: Add clippy checks to GitHub Actions workflow
Note: clippy checks will fail at this commit. Fixes follow in subsequent commits.
1 parent c18111e commit f0abbd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/sightglass.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ env:
1414
REVISION: "v38.0.3"
1515

1616
jobs:
17-
format:
17+
format-and-clippy:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
2222
submodules: true
2323
- run: rustup update
24-
- run: rustup component add rustfmt
24+
- run: rustup component add rustfmt clippy
2525
- run: cargo fmt --all -- --check
26+
- run: cargo clippy --all-targets --all-features -- -D warnings
2627

2728
test:
2829
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)