Skip to content

Commit

Permalink
SFT-2921: Increase MSRV to 1.77.1.
Browse files Browse the repository at this point in the history
* .github/workflows/build.yaml: Increase MSRV to 1.77.1.
* .github/workflows/lint.yaml: Likewise.
* Dockerfile: Likewise.
  • Loading branch information
jeandudey committed Oct 31, 2024
1 parent 3747dd1 commit 726b2a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
tags: localhost:5000/foundation-devices/passport2:latest
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets: thumbv7em-none-eabihf
- run: cargo install [email protected] --locked
- run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
tags: localhost:5000/foundation-devices/passport2:latest
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets: thumbv7em-none-eabihf
- run: cargo install [email protected] --locked
- run: |
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
tags: localhost:5000/foundation-devices/passport2:latest
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets: thumbv7em-none-eabihf
- run: cargo install [email protected] --locked
- run: echo "DOCKER_IMAGE=localhost:5000/foundation-devices/passport2:latest" >> $GITHUB_ENV
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
tags: localhost:5000/foundation-devices/passport2:latest
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets: thumbv7em-none-eabihf
- run: cargo install [email protected] --locked
- run: echo "DOCKER_IMAGE=localhost:5000/foundation-devices/passport2:latest" >> $GITHUB_ENV
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets: thumbv7em-none-eabihf
- run: |
cargo check --manifest-path extmod/foundation-rust/Cargo.toml
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
components: rustfmt
- run: |
cargo fmt --manifest-path extmod/foundation-rust/Cargo.toml \
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
- run: cargo install cbindgen@^0.24 --locked
- run: |
cbindgen --config extmod/foundation-rust/cbindgen.toml \
Expand All @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.70.0
toolchain: 1.77.1
targets:
- run: |
cargo test --manifest-path extmod/foundation-rust/Cargo.toml \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENV RUSTUP_HOME="/rustup"
ENV CARGO_HOME="/cargo"
RUN mkdir -p /rustup /cargo && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
sh -s -- -y --profile minimal --default-toolchain 1.70.0
sh -s -- -y --profile minimal --default-toolchain 1.77.1
ENV PATH="/cargo/bin:${PATH}"

# Finish installation of Rust toolchain.
Expand Down

0 comments on commit 726b2a1

Please sign in to comment.