fix: resolve clippy too_many_arguments errors and upgrade CI to Rust 1.94
All checks were successful
CI / Format (push) Successful in 2m22s
CI / Clippy (push) Successful in 4m28s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 4s
CI / Clippy (pull_request) Successful in 4m39s
CI / Security Audit (pull_request) Has been skipped
CI / Tests (pull_request) Has been skipped
CI / Detect Changes (push) Has been skipped
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Dashboard (push) Has been skipped
CI / Deploy MCP (push) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
CI / Deploy Agent (push) Has been skipped
CI / Deploy Docs (push) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
All checks were successful
CI / Format (push) Successful in 2m22s
CI / Clippy (push) Successful in 4m28s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 4s
CI / Clippy (pull_request) Successful in 4m39s
CI / Security Audit (pull_request) Has been skipped
CI / Tests (pull_request) Has been skipped
CI / Detect Changes (push) Has been skipped
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Dashboard (push) Has been skipped
CI / Deploy MCP (push) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
CI / Deploy Agent (push) Has been skipped
CI / Deploy Docs (push) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
Move #[allow(clippy::too_many_arguments)] to module level so it propagates through Dioxus #[server] macro expansion. Upgrade CI container from rust:1.89 to rust:1.94 to match local toolchain. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
name: Format
|
||||
runs-on: docker
|
||||
container:
|
||||
image: rust:1.89-bookworm
|
||||
image: rust:1.94-bookworm
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
name: Clippy
|
||||
runs-on: docker
|
||||
container:
|
||||
image: rust:1.89-bookworm
|
||||
image: rust:1.94-bookworm
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
runs-on: docker
|
||||
if: github.ref == 'refs/heads/main'
|
||||
container:
|
||||
image: rust:1.89-bookworm
|
||||
image: rust:1.94-bookworm
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
runs-on: docker
|
||||
needs: [fmt, clippy, audit]
|
||||
container:
|
||||
image: rust:1.89-bookworm
|
||||
image: rust:1.94-bookworm
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
|
||||
@@ -7,6 +7,7 @@ pub mod findings;
|
||||
pub mod graph;
|
||||
pub mod issues;
|
||||
pub mod mcp;
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub mod repositories;
|
||||
pub mod sbom;
|
||||
pub mod scans;
|
||||
|
||||
@@ -30,7 +30,6 @@ pub async fn fetch_repositories(page: u64) -> Result<RepositoryListResponse, Ser
|
||||
}
|
||||
|
||||
#[server]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub async fn add_repository(
|
||||
name: String,
|
||||
git_url: String,
|
||||
|
||||
Reference in New Issue
Block a user