Skip to content

Commit 886497a

Browse files
committed
Change minimum Rust toolchain to 1.82
1 parent 7772250 commit 886497a

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ steps:
5353
- cp /usr/local/bin/mina cli/bin/
5454

5555
- name: build
56-
image: rust:1.80-bullseye
56+
image: rust:1.82-bullseye
5757
commands:
5858
- apt-get update && apt-get install -y libssl-dev libjemalloc-dev jq protobuf-compiler
59-
- rustup update 1.80 && rustup default 1.80
59+
- rustup update 1.82 && rustup default 1.82
6060
- rustup component add rustfmt
6161
# just to be sure it builds without errors
6262
- cargo build

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Setup Rust
7676
run: |
77-
rustup default 1.80
77+
rustup default 1.82
7878
rustup component add rustfmt
7979
8080
- name: Setup Rust Cache
@@ -100,7 +100,7 @@ jobs:
100100
101101
- name: Setup Rust
102102
run: |
103-
rustup default 1.80
103+
rustup default 1.82
104104
rustup component add rustfmt
105105
106106
- name: Setup Rust Cache
@@ -160,7 +160,7 @@ jobs:
160160
161161
- name: Setup Rust
162162
run: |
163-
rustup default 1.80
163+
rustup default 1.82
164164
rustup component add rustfmt
165165
166166
- name: Setup Rust Cache
@@ -196,7 +196,7 @@ jobs:
196196
197197
- name: Setup Rust
198198
run: |
199-
rustup default 1.80
199+
rustup default 1.82
200200
rustup component add rustfmt
201201
202202
- name: Setup Rust Cache

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM rust:buster AS build
22
RUN apt-get update && apt-get install -y protobuf-compiler && apt-get clean
3-
RUN rustup default 1.80 && rustup component add rustfmt
3+
RUN rustup default 1.82 && rustup component add rustfmt
44
WORKDIR /openmina
55
COPY . .
66
RUN cargo build --release --package=cli --bin=openmina

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ Open up the command line and enter the following:
155155
And then:
156156

157157
```sh
158-
# Install rustup and set the default Rust toolchain to 1.80 (newer versions work too)
159-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.80
158+
# Install rustup and set the default Rust toolchain to 1.82 (newer versions work too)
159+
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.82
160160
# Setup the current shell with rustup
161161
source "$HOME/.cargo/env"
162162
# Clone the openmina repository

docker/producer-dashboard/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.80 AS app-builder
1+
FROM rust:1.82 AS app-builder
22

33
WORKDIR /usr/src/openmina-producer-dashboard
44

node/testing/docker/Dockerfile.openmina

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
99

1010
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
1111

12-
RUN source ~/.cargo/env && rustup update 1.80
12+
RUN source ~/.cargo/env && rustup update 1.82
1313

1414
RUN git clone https://github.com/openmina/openmina
1515

node/testing/docker/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM vladsimplestakingcom/mina-openmina-builder:focal AS builder
22

33
RUN git fetch && git checkout feat/tests-with-debugger
44

5-
RUN source ~/.cargo/env && cargo +1.80 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
5+
RUN source ~/.cargo/env && cargo +1.82 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
66

77
FROM vladsimplestakingcom/mina-debugger:2.0.0rampup4-focal
88

run.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ spec:
7272
- |
7373
apt-get update && apt-get -y install git curl gcc libssl-dev pkg-config
7474
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
75-
PATH=$PATH:~/.cargo/bin && rustup update 1.80
75+
PATH=$PATH:~/.cargo/bin && rustup update 1.82
7676
git clone https://github.com/openmina/openmina
7777
cd openmina
7878
git fetch && git checkout feat/tweak-for-debugger
79-
PATH=$PATH:~/.cargo/bin && cargo +1.80 build --release --bin openmina -p cli --no-default-features
79+
PATH=$PATH:~/.cargo/bin && cargo +1.82 build --release --bin openmina -p cli --no-default-features
8080
cp target/release/openmina /usr/local/bin/openmina
8181
openmina node -p 10000 --libp2p-port 8302
8282
ports:

tools/bootstrap-sandbox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.80.0-bullseye AS builder
1+
FROM rust:1.82.0-bullseye AS builder
22

33
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
44

0 commit comments

Comments
 (0)