Skip to content

Commit

Permalink
Check clippy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey committed Dec 20, 2024
1 parent 9cc9f3e commit 4640052
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cargo-clippy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: BigQuery clippy check

on:
push:

jobs:
cargo-fmt:
name: check lints with clippy
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: "-D warnings" # fail on warnings
steps:
- uses: actions/checkout@v4

- name: install tools
run: |
rustup show
- uses: Swatinem/rust-cache@v2

- name: check formatting
run: |
cargo clippy

0 comments on commit 4640052

Please sign in to comment.