Skip to content

Commit

Permalink
chore: pin rustc version everywhere, just fmt with set nightly formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 4, 2024
1 parent 1db6847 commit 98a40db
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 2 deletions.
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"

0 comments on commit 98a40db

Please sign in to comment.