mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
chore: pin crunchy by including it in one of the member crates (#15854)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
This commit is contained in:
38
.github/workflows/dependencies.yml
vendored
38
.github/workflows/dependencies.yml
vendored
@@ -17,40 +17,4 @@ jobs:
|
|||||||
update:
|
update:
|
||||||
uses: ithacaxyz/ci/.github/workflows/cargo-update-pr.yml@main
|
uses: ithacaxyz/ci/.github/workflows/cargo-update-pr.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# re‑pin `crunchy` to version 0.2.2 since 0.2.3 is broken.
|
|
||||||
# The Cargo.toml file states we want `=0.2.2` however cargo update
|
|
||||||
# is not respecting this.
|
|
||||||
# For underlying issue, See: https://github.com/eira-fransham/crunchy/issues/13
|
|
||||||
repin-crunchy:
|
|
||||||
needs: update
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# The ithaca re-usable workflow will create a PR on
|
|
||||||
# branch `cargo-update`. So we re-check that branch out.
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: cargo-update
|
|
||||||
fetch-depth: 0
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@master
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
|
|
||||||
- name: Re-pin crunchy to 0.2.2
|
|
||||||
run: cargo update -p crunchy --precise 0.2.2
|
|
||||||
|
|
||||||
- name: Commit & push if Cargo.lock changed
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
if ! git diff --quiet -- Cargo.lock; then
|
|
||||||
git config user.name "github-actions[bot]"
|
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
||||||
git add Cargo.lock
|
|
||||||
git commit -m "ci: re‑pin crunchy to 0.2.2"
|
|
||||||
git push origin cargo-update
|
|
||||||
fi
|
|
||||||
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -3083,6 +3083,7 @@ dependencies = [
|
|||||||
"alloy-eips",
|
"alloy-eips",
|
||||||
"alloy-primitives 1.0.0",
|
"alloy-primitives 1.0.0",
|
||||||
"alloy-rlp",
|
"alloy-rlp",
|
||||||
|
"crunchy",
|
||||||
"rayon",
|
"rayon",
|
||||||
"reth-chainspec",
|
"reth-chainspec",
|
||||||
"reth-db",
|
"reth-db",
|
||||||
|
|||||||
@@ -43,3 +43,8 @@ serde.workspace = true
|
|||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
thiserror.workspace = true
|
thiserror.workspace = true
|
||||||
rayon.workspace = true
|
rayon.workspace = true
|
||||||
|
# TODO: When we build for a windows target on an ubuntu runner, crunchy tries to
|
||||||
|
# get the wrong path, update this when the workflow has been updated
|
||||||
|
#
|
||||||
|
# See: https://github.com/eira-fransham/crunchy/issues/13
|
||||||
|
crunchy = "=0.2.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user