Skip to content

Commit 6da36a9

Browse files
chore(deps): update actions-rust-lang/setup-rust-toolchain action to v2 (#550)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions-rust-lang/setup-rust-toolchain](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain) | action | major | `v1` → `v2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>actions-rust-lang/setup-rust-toolchain (actions-rust-lang/setup-rust-toolchain)</summary> ### [`v2.0.0`](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.17.0...v2.0.0) ##### What's Changed - Use `CARGO_BUILD_WARNINGS` for enforcing warning free compilations ([#&#8203;98](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain/issues/98)) This is a new variable supported by cargo 1.97+ [and sets the `build.warnings` config](https://blog.rust-lang.org/2026/07/09/Rust-1.97.0/#cargo-support-for-denying-warnings). It allows removing the `RUSTFLAGS="-D warnings"` default, which will improve compatibility with `target.*.rustflags` and `.cargo/config.toml` files. This adds a new `build-warnings` input to configure the value for the `build.warnings` config. - Add error matcher for Rust panics This will highlight the location of the panic location during tests. - Reuse output of `rustc --version --verbose` calls ([#&#8203;103](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain/issues/103) by [@&#8203;ChihweiLHBird](https://redirect.github.com/ChihweiLHBird)) ##### New Contributors - [@&#8203;ChihweiLHBird](https://redirect.github.com/ChihweiLHBird) made their first contribution in [#&#8203;103](https://redirect.github.com/actions-rust-lang/setup-rust-toolchain/pull/103) **Full Changelog**: <actions-rust-lang/setup-rust-toolchain@v1.17.0...v2.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "every weekday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apify/impit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42OS4xIiwidXBkYXRlZEluVmVyIjoiNDQuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 77f18a1 commit 6da36a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/format.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
2020

21-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
21+
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
2222
with:
2323
components: rustfmt
2424

@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
3232

33-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
33+
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
3434
with:
3535
components: clippy
3636

@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
4444

45-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
45+
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
4646

4747
- name: Run tests
4848
run: cargo test -p impit

0 commit comments

Comments
 (0)