From 4a9b4d9c8814ae05ea15275c21560bf045995e10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 08:18:47 +0000 Subject: [PATCH 1/2] Bump the minor-and-patch group with 3 updates Bumps the minor-and-patch group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `github/codeql-action/init` from 4.36.2 to 4.37.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81) Updates `github/codeql-action/analyze` from 4.36.2 to 4.37.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github/codeql-action/init dependency-version: 4.37.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github/codeql-action/analyze dependency-version: 4.37.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/main.yaml | 2 +- .github/workflows/publish.yaml | 2 +- .github/workflows/pull-request.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 02d3ba3..73408b6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -55,7 +55,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Add any setup steps before running the `github/codeql-action/init` action. # This includes steps like installing compilers or runtimes (`actions/setup-node` @@ -65,7 +65,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -94,6 +94,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7622ada..ac41b70 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Cache Cargo dependencies uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 35e2cc4..7668c3f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set version from tag run: | diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index e05a510..2ef0d38 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Cache Cargo dependencies uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Rust nightly # doc-coverage uses `rustdoc --show-coverage`, which is nightly-only # (rust-lang/rust#58154). SHA-pin the action to master and select a From b63faf0fcde684548e89e7dd01d14732a5f5f3c9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 4 Aug 2026 10:16:34 +0000 Subject: [PATCH 2/2] Remove redundant references in log macro arguments Fixes clippy::useless_borrows_in_formatting errors reported by Rust 1.97. Co-authored-by: Benjamin Smith --- src/client.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/client.rs b/src/client.rs index 7835fa2..251bbf6 100644 --- a/src/client.rs +++ b/src/client.rs @@ -72,7 +72,7 @@ impl DuneClient { .map(|p| (p.key, p.value)) .collect::>(); let request_url = format!("{BASE_URL}/{route}"); - debug!("POST to {} with parameters {:?}", route, ¶ms); + debug!("POST to {} with parameters {:?}", route, params); let client = reqwest::Client::new(); client .post(&request_url) @@ -85,7 +85,7 @@ impl DuneClient { /// Internal POST request handler with arbitrary JSON body async fn _post_json(&self, route: &str, body: serde_json::Value) -> Result { let request_url = format!("{BASE_URL}/{route}"); - debug!("POST to {} with body {:?}", route, &body); + debug!("POST to {} with body {:?}", route, body); let client = reqwest::Client::new(); client .post(&request_url) @@ -98,7 +98,7 @@ impl DuneClient { /// Internal PATCH request handler with JSON body async fn _patch(&self, route: &str, body: serde_json::Value) -> Result { let request_url = format!("{BASE_URL}/{route}"); - debug!("PATCH to {} with body {:?}", route, &body); + debug!("PATCH to {} with body {:?}", route, body); let client = reqwest::Client::new(); client .patch(&request_url) @@ -111,7 +111,7 @@ impl DuneClient { /// Internal GET request handler for arbitrary routes async fn _get_url(&self, route: &str) -> Result { let request_url = format!("{BASE_URL}/{route}"); - debug!("GET from {}", &request_url); + debug!("GET from {}", request_url); let client = reqwest::Client::new(); client .get(&request_url) @@ -136,7 +136,7 @@ impl DuneClient { .json::() .await .map_err(DuneRequestError::from)?; - error!("request error {:?}", &err); + error!("request error {:?}", err); Err(DuneRequestError::from(err)) } } @@ -144,7 +144,7 @@ impl DuneClient { /// Internal DELETE request handler async fn _delete(&self, route: &str) -> Result { let request_url = format!("{BASE_URL}/{route}"); - debug!("DELETE {}", &request_url); + debug!("DELETE {}", request_url); let client = reqwest::Client::new(); client .delete(&request_url) @@ -181,7 +181,7 @@ impl DuneClient { .json::() .await .map_err(DuneRequestError::from)?; - error!("request error {:?}", &err); + error!("request error {:?}", err); Err(DuneRequestError::from(err)) } }