diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-06-15 15:26:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-15 15:26:52 +0200 |
| commit | 3ccc1f39466f35b698bd5ea9b247832dac51cc90 (patch) | |
| tree | 43881adb98468abac14c7609879d7747b2f37719 | |
| parent | fix(clippy) (diff) | |
| download | sl0ppij-3ccc1f39466f35b698bd5ea9b247832dac51cc90.tar.gz sl0ppij-3ccc1f39466f35b698bd5ea9b247832dac51cc90.tar.xz sl0ppij-3ccc1f39466f35b698bd5ea9b247832dac51cc90.zip | |
Add/ci enable clippy (#1509)
* fix(clippy): clippy fixes
* add(ci): enable clippy warnings
* chore(fmt): cargo fmt
* disable: failing clippy action
Add `cargo make clippy` in ci
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/rust.yml | 12 | ||||
| -rw-r--r-- | Makefile.toml | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 280bd131..5e75c2d2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -72,8 +72,10 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Check Lints - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --all-targets + - name: Check clippy lints + run: cargo make clippy + # - name: Check Lints + # uses: actions-rs/clippy-check@v1 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # args: --all-features --all-targets --deny warnings diff --git a/Makefile.toml b/Makefile.toml index 88f3e1ee..16057604 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -92,7 +92,7 @@ args = [ # Simple clippy tweak [tasks.clippy] -args = ["clippy", "--all-targets","--all-features","--", "@@split(CARGO_MAKE_TASK_ARGS,;)"] +args = ["clippy", "--all-targets","--all-features","--","--deny","warnings", "@@split(CARGO_MAKE_TASK_ARGS,;)"] # Release building and installing Zellij [tasks.install] |
