mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: add lint
This commit is contained in:
14
.github/workflows/clippy.yml
vendored
14
.github/workflows/clippy.yml
vendored
@@ -1,14 +0,0 @@
|
||||
on: push
|
||||
name: Clippy check
|
||||
|
||||
# Make sure CI fails on all warnings, including Clippy lints
|
||||
env:
|
||||
RUSTFLAGS: "-Dwarnings"
|
||||
|
||||
jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run Clippy
|
||||
run: cargo clippy --all-targets --all-features
|
||||
Reference in New Issue
Block a user