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

fix: clippy errors

Added more Rust versions
parent f6fcf8cb
No related branches found
No related tags found
No related merge requests found
Pipeline #2098 failed
...@@ -16,6 +16,8 @@ jobs: ...@@ -16,6 +16,8 @@ jobs:
"1.63.0", "1.63.0",
"1.64.0", "1.64.0",
"1.65.0", "1.65.0",
"1.66.0",
"1.67.0",
"latest" "latest"
] ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -32,7 +34,7 @@ jobs: ...@@ -32,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 run: cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args
- name: Build development version - name: Build development version
run: cargo build run: cargo build
- name: Build release version - name: Build release version
...@@ -49,6 +51,8 @@ jobs: ...@@ -49,6 +51,8 @@ jobs:
"1.63.0", "1.63.0",
"1.64.0", "1.64.0",
"1.65.0", "1.65.0",
"1.66.0",
"1.67.0",
"latest" "latest"
] ]
node-version: ["16"] node-version: ["16"]
...@@ -66,7 +70,7 @@ jobs: ...@@ -66,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 run: cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args
- 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; fi - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints -A clippy::uninlined-format-args; fi
- cargo build - cargo build
- cargo build --release - cargo build --release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment