Skip to content

Commit

Permalink
Merge pull request #75 from ralexstokes/v0.3.0
Browse files Browse the repository at this point in the history
v0.3.0
  • Loading branch information
ralexstokes authored Feb 15, 2023
2 parents 1b8d106 + c2e9d40 commit fc49dd0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,27 @@ 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
# ==============================

- 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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -17,4 +17,4 @@ WORKDIR /app
EXPOSE 18550
COPY --from=builder /app/target/release/mev /usr/local/bin

ENTRYPOINT [ "/usr/local/bin/mev" ]
ENTRYPOINT [ "/usr/local/bin/mev" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.66"
channel = "1.67"

0 comments on commit fc49dd0

Please sign in to comment.