Skip to content

Commit

Permalink
chore: prevent Renovate trying to change Rust MSRV version
Browse files Browse the repository at this point in the history
Hide the Rust MSRV version behind a Docker build argument, so Renovate does not know to update it.
  • Loading branch information
intgr committed Apr 9, 2024
1 parent 6bd9b1b commit e190773
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion varia/Dockerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ FROM rustlang/rust:nightly AS cargo-base-nightly
ENV components="" buildflags="--tests --examples"

#### Base image for MSRV
FROM rust:1.60.0 AS cargo-base-msrv
ARG rust_msrv=1.60.0
FROM rust:$rust_msrv AS cargo-base-msrv
# Don't build tests: dev-dependencies are incompatible with MSRV.
ENV components="" buildflags=""

Expand Down

0 comments on commit e190773

Please sign in to comment.