Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
ci: cargo fmt, clippy does not error whenw arnings anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrohba1 committed Jan 22, 2024
1 parent c5da9c2 commit 64a36fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ jobs:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- name: Install Rustfmt
run: rustup component add rustfmt
- name: Check code formatting
run: cargo fmt -- --check

- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy -- -D warnings
run: cargo clippy

- name: Install Protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
Expand Down

0 comments on commit 64a36fe

Please sign in to comment.