diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e46926a9..e263cca7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,13 +30,19 @@ jobs: needs: extract-version steps: - name: Checkout sources - uses: actions/checkout@v2 - - name: Build toolchain - uses: actions-rs/toolchain@v1 + uses: actions/checkout@v3 + + - name: Read toolchain file + id: rust-toolchain + run: | + RUST_TOOLCHAIN=$(grep 'channel' rust-toolchain.toml | awk '{split($0,a," = "); print a[2]}' | tr -d '"') + echo "RUST_TOOLCHAIN=$RUST_TOOLCHAIN" >> $GITHUB_OUTPUT + shell: bash + + - name: Install toolchain + uses: dtolnay/rust-toolchain@master with: - toolchain: stable - profile: minimal - override: true + toolchain: ${{ steps.rust-toolchain.outputs.RUST_TOOLCHAIN }} # ============================== # Build @@ -44,7 +50,7 @@ jobs: - name: Build mev-rs run: | - cargo install --path bin/mev-rs --locked + cargo install --path bin/mev --locked mkdir artifacts mv ~/.cargo/bin/mev ./artifacts cd artifacts @@ -71,7 +77,7 @@ jobs: steps: # This is necessary for generating the changelog. It has to come before "Download Artifacts" or else it deletes the artifacts. - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index 99c25f06..a0465fb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.60-bullseye AS chef +FROM rust:1.67-bullseye AS chef RUN cargo install cargo-chef WORKDIR /app @@ -17,4 +17,4 @@ WORKDIR /app EXPOSE 18550 COPY --from=builder /app/target/release/mev /usr/local/bin -ENTRYPOINT [ "/usr/local/bin/mev" ] \ No newline at end of file +ENTRYPOINT [ "/usr/local/bin/mev" ] diff --git a/README.md b/README.md index 94c20fa7..821ae519 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ It has not been audited for security purposes and should not be used in producti # Status -Implements `v0.2.0` of the [`builder-specs`](https://github.com/ethereum/builder-specs) +Implements `v0.3.0` of the [`builder-specs`](https://github.com/ethereum/builder-specs) for the `boost` component. # Requirements diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 99c6e11a..5a39a277 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.66" +channel = "1.67"