chore: bump ci toolchain and MSRV (#506)
* chore: bump ci toolchain and MSRV * fix clippy on macOS
This commit is contained in:
2
.github/workflows/check-and-lint.yaml
vendored
2
.github/workflows/check-and-lint.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUST_VER: '1.68.0'
|
RUST_VER: '1.71.0'
|
||||||
CROSS_VER: '0.2.5'
|
CROSS_VER: '0.2.5'
|
||||||
CARGO_NET_RETRY: 3
|
CARGO_NET_RETRY: 3
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ To remedy this, **Topgrade** detects which tools you use and runs the appropriat
|
|||||||
Other systems users can either use `cargo install` or the compiled binaries from the release page.
|
Other systems users can either use `cargo install` or the compiled binaries from the release page.
|
||||||
The compiled binaries contain a self-upgrading feature.
|
The compiled binaries contain a self-upgrading feature.
|
||||||
|
|
||||||
Topgrade requires Rust 1.60 or above.
|
> Currently, Topgrade requires Rust 1.65 or above. In general, Topgrade tracks
|
||||||
|
> the latest stable toolchain.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
{
|
{
|
||||||
if let Ok(..) = require("darwin-rebuild") {
|
if require("darwin-rebuild").is_ok() {
|
||||||
return Err(SkipStep(String::from(
|
return Err(SkipStep(String::from(
|
||||||
"Nix-darwin on macOS must be upgraded via darwin-rebuild switch",
|
"Nix-darwin on macOS must be upgraded via darwin-rebuild switch",
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user