Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin rust toolchain everywhere, just fmt with nightly formatter pinned #269

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
default:
@just --list --unsorted

# 1. Make sure the nightly-2024-10-03 toolchain is installed
# 2. cd to git root and cd into crate
fmt crate:
rustup toolchain install nightly-2024-10-03 > /dev/null 2>&1 && \
cd $(git rev-parse --show-toplevel)/{{crate}} && \
cargo +nightly-2024-10-03 fmt

# run the web demo locally
demo:
chmod +x ./scripts/start-demo.sh
Expand Down
2 changes: 1 addition & 1 deletion bolt-boost/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
FROM lukemathwalker/cargo-chef:latest-rust-1.81.0-alpine AS chef
WORKDIR /app

FROM chef AS planner
Expand Down
3 changes: 3 additions & 0 deletions bolt-boost/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.81.0"
profile = "default"
3 changes: 3 additions & 0 deletions bolt-client/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.81.0"
profile = "default"
3 changes: 3 additions & 0 deletions bolt-kurtosis-client/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.81.0"
profile = "default"
2 changes: 1 addition & 1 deletion bolt-sidecar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:slim-bullseye AS compiler
FROM rust:1.81.0-slim-bullseye AS compiler

RUN cargo install cargo-chef

Expand Down
3 changes: 3 additions & 0 deletions bolt-sidecar/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.81.0"
profile = "default"