From c686c8b566349430fc8f5920f8d24de3a4ed0df7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:14:38 +0000 Subject: [PATCH 1/3] chore(deps): update github actions upgrade --- .github/workflows/release-plz.yml | 8 ++++---- .github/workflows/rust.yaml | 8 ++++---- .github/workflows/scorecard.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index e84012b5..ca804fb7 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -30,11 +30,11 @@ jobs: fetch-depth: 0 token: ${{ steps.generate-token.outputs.token }} - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # stable + uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa # stable with: toolchain: stable - name: Run release-plz release - uses: MarcoIeni/release-plz-action@301fd6d8c641b97f25b5ade37651a478a5faa7da # v0.5 + uses: MarcoIeni/release-plz-action@f0fdffff1ff475195a1638e487cf93719e065a8e # v0.5 with: command: release env: @@ -66,11 +66,11 @@ jobs: fetch-depth: 0 token: ${{ steps.generate-token.outputs.token }} - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # stable + uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa # stable with: toolchain: stable - name: Run release-plz PR task - uses: MarcoIeni/release-plz-action@301fd6d8c641b97f25b5ade37651a478a5faa7da # v0.5 + uses: MarcoIeni/release-plz-action@f0fdffff1ff475195a1638e487cf93719e065a8e # v0.5 with: command: release-pr env: diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 99b666ec..f6f6de01 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # stable + - uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa # stable with: toolchain: stable - run: cargo test --all-features -- --nocapture @@ -28,11 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # stable + - uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa # stable with: toolchain: stable target: wasm32-wasi - - uses: taiki-e/install-action@9c04113bd63f9659d7a53908386758275ab35630 + - uses: taiki-e/install-action@f725b9adf3838dea66890ca9932712709858c409 with: tool: wasmtime,cargo-wasi - env: @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # stable + - uses: dtolnay/rust-toolchain@315e265cd78dad1e1dcf3a5074f6d6c47029d5aa # stable with: toolchain: stable components: rustfmt, clippy diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 008d3967..06422489 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -65,6 +65,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1 + uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 with: sarif_file: results.sarif From 40b637ace2da6353d7171fec42ec74520b64e3a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 03:29:11 +0000 Subject: [PATCH 2/3] chore(deps): update github actions upgrade --- .github/workflows/release-plz.yml | 4 ++-- .github/workflows/rust.yaml | 2 +- .github/workflows/scorecard.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index ca804fb7..f852ad62 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -34,7 +34,7 @@ jobs: with: toolchain: stable - name: Run release-plz release - uses: MarcoIeni/release-plz-action@f0fdffff1ff475195a1638e487cf93719e065a8e # v0.5 + uses: MarcoIeni/release-plz-action@2d634174257b7f46339e7533865a910743a0c5c9 # v0.5 with: command: release env: @@ -70,7 +70,7 @@ jobs: with: toolchain: stable - name: Run release-plz PR task - uses: MarcoIeni/release-plz-action@f0fdffff1ff475195a1638e487cf93719e065a8e # v0.5 + uses: MarcoIeni/release-plz-action@2d634174257b7f46339e7533865a910743a0c5c9 # v0.5 with: command: release-pr env: diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index f6f6de01..c2207a92 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -32,7 +32,7 @@ jobs: with: toolchain: stable target: wasm32-wasi - - uses: taiki-e/install-action@f725b9adf3838dea66890ca9932712709858c409 + - uses: taiki-e/install-action@c4bf614c2fb42375baf4f51283c33befce095fc5 with: tool: wasmtime,cargo-wasi - env: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 06422489..dd72b283 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -65,6 +65,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 with: sarif_file: results.sarif From f3426f19d178431614d5a5283ddc3e0b10804d4b Mon Sep 17 00:00:00 2001 From: Deepak Rao Gaikwad Date: Wed, 4 Dec 2024 14:23:09 +0530 Subject: [PATCH 3/3] fix: lint checks - directive --- src/evaluator/functions.rs | 1 + src/evaluator/value/iterator.rs | 1 + src/evaluator/value/range.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/evaluator/functions.rs b/src/evaluator/functions.rs index 4d62e041..429416a1 100644 --- a/src/evaluator/functions.rs +++ b/src/evaluator/functions.rs @@ -89,6 +89,7 @@ pub struct FunctionContext<'a, 'e> { pub arena: &'a Bump, } +#[allow(clippy::needless_lifetimes)] impl<'a, 'e> FunctionContext<'a, 'e> { pub fn evaluate_function( &self, diff --git a/src/evaluator/value/iterator.rs b/src/evaluator/value/iterator.rs index 4e30fbc9..cfee8263 100644 --- a/src/evaluator/value/iterator.rs +++ b/src/evaluator/value/iterator.rs @@ -38,6 +38,7 @@ impl<'a> Iterator for MemberIterator<'a> { } } +#[allow(clippy::needless_lifetimes)] impl<'a> DoubleEndedIterator for MemberIterator<'a> { fn next_back(&mut self) -> Option { if self.back_done { diff --git a/src/evaluator/value/range.rs b/src/evaluator/value/range.rs index 3dc779e3..4ced9096 100644 --- a/src/evaluator/value/range.rs +++ b/src/evaluator/value/range.rs @@ -58,6 +58,7 @@ impl<'a> Index for Range<'a> { } } +#[allow(clippy::needless_lifetimes)] impl<'a> PartialEq> for Range<'a> { fn eq(&self, other: &Range<'_>) -> bool { self.start == other.start && self.end == other.end