Skip to content
Snippets Groups Projects
Verified Commit 68c93e10 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: new strategy for ignore clippy erros

parent 96da291e
No related branches found
No related tags found
No related merge requests found
Pipeline #2099 passed
...@@ -34,7 +34,7 @@ jobs: ...@@ -34,7 +34,7 @@ jobs:
- name: Verify Rust code format - name: Verify Rust code format
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Verify Rust code linting - name: Verify Rust code linting
run: cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args run: cargo clippy -- -D warnings -A unknown-lints
- name: Build development version - name: Build development version
run: cargo build run: cargo build
- name: Build release version - name: Build release version
...@@ -70,7 +70,7 @@ jobs: ...@@ -70,7 +70,7 @@ jobs:
- name: Verify Rust code format - name: Verify Rust code format
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Verify Rust code linting - name: Verify Rust code linting
run: cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args run: cargo clippy -- -D warnings -A unknown-lints
- name: Install wasm-pack - name: Install wasm-pack
run: cargo install wasm-pack run: cargo install wasm-pack
- name: Build WASM Web binary - name: Build WASM Web binary
......
...@@ -34,7 +34,7 @@ build-rust: ...@@ -34,7 +34,7 @@ build-rust:
- rustup component add clippy - rustup component add clippy
- rustc --version - rustc --version
- cargo fmt --all -- --check - cargo fmt --all -- --check
- if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args; fi - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints; fi
- cargo build - cargo build
- cargo build --release - cargo build --release
......
#![allow(clippy::uninlined_format_args)]
pub mod cpu; pub mod cpu;
pub mod data; pub mod data;
pub mod gb; pub mod gb;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment