Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .forgejo/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Rust toolchain
run: |
channel=$(sed -n 's/^channel = "\(.*\)"$/\1/p' rust-toolchain.toml)
rustup toolchain install "$channel" --profile minimal
rustup toolchain install "$channel" --profile minimal --no-self-update
rustup show active-toolchain

# Runner environment overrides workflow-level CARGO_TARGET_DIR. Set it on
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Check with the declared minimum Rust version
run: |
msrv=$(sed -n 's/^rust-version = "\(.*\)"$/\1/p' Cargo.toml)
rustup toolchain install "$msrv" --profile minimal
rustup toolchain install "$msrv" --profile minimal --no-self-update
CARGO_TARGET_DIR="$PWD/target/msrv" cargo +"$msrv" check --workspace --all-targets --all-features --locked

- name: Build API docs with warnings denied
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

# rust-toolchain.toml names the toolchain and its components.
- name: Install Rust
run: rustup toolchain install
run: rustup toolchain install --no-self-update

- name: Cache cargo
uses: actions/cache@v5
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Check with the declared minimum Rust version
run: |
msrv=$(sed -n 's/^rust-version = "\(.*\)"$/\1/p' Cargo.toml)
rustup toolchain install "$msrv" --profile minimal
rustup toolchain install "$msrv" --profile minimal --no-self-update
cargo +"$msrv" check --workspace --all-targets --all-features --locked

docs:
Expand All @@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install Rust
run: rustup toolchain install
run: rustup toolchain install --no-self-update

- name: Build API docs with warnings denied
run: cargo doc --workspace --no-deps --all-features --locked
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install Rust
run: rustup toolchain install
run: rustup toolchain install --no-self-update

# The same packaging the Release workflow runs before it publishes.
- name: Package every publishable crate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install Rust
run: rustup toolchain install
run: rustup toolchain install --no-self-update

- name: Check the tag against the workspace version
id: version
Expand All @@ -66,7 +66,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install Rust
run: rustup toolchain install
run: rustup toolchain install --no-self-update

# Re-running a partially published release uploads only what is missing.
# cargo publishes the set in dependency order and waits for each crate to
Expand Down
Loading