diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4dff9b2d4..6f2286952 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -121,13 +121,13 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: | - rustup toolchain install 1.46.0 --no-self-update --profile minimal + rustup toolchain install 1.53.0 --no-self-update --profile minimal rustup toolchain install nightly --no-self-update --profile minimal - rustup default 1.46.0 + rustup default 1.53.0 shell: bash - name: Create Cargo.lock with minimal version run: cargo +nightly update -Zminimal-versions - - name: Cache downloaded crates since 1.46 is really slow in fetching + - name: Cache downloaded crates since 1.53 is really slow in fetching uses: Swatinem/rust-cache@v2 - run: cargo check --lib - run: cargo check --lib --all-features diff --git a/Cargo.toml b/Cargo.toml index 89945c56f..c7ba95a00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ readme = "README.md" categories = ["development-tools::build-utils"] exclude = ["/.github"] edition = "2018" +rust-version = "1.53" [dependencies] jobserver = { version = "0.1.16", optional = true }