ci: Pin rust nightly for clippy
To work around lint issue with clap
This commit is contained in:
parent
e490c8893d
commit
a435a83cdd
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -50,7 +50,9 @@ jobs:
|
|||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly
|
# FIXME: Remove pinning when clippy lint with clap issue is solved
|
||||||
|
# See https://github.com/clap-rs/clap/issues/4733
|
||||||
|
toolchain: nightly-2023-02-25
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
@ -208,7 +210,9 @@ jobs:
|
|||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly
|
# FIXME: Remove pinning when clippy lint with clap issue is solved
|
||||||
|
# See https://github.com/clap-rs/clap/issues/4733
|
||||||
|
toolchain: nightly-2023-02-25
|
||||||
override: true
|
override: true
|
||||||
components: ${{ matrix.components }}
|
components: ${{ matrix.components }}
|
||||||
|
|
||||||
|
@ -10,7 +10,9 @@ mod spec_links;
|
|||||||
use spec_links::check_spec_links;
|
use spec_links::check_spec_links;
|
||||||
|
|
||||||
const MSRV: &str = "1.64";
|
const MSRV: &str = "1.64";
|
||||||
const NIGHTLY: &str = "nightly";
|
// FIXME: Remove pinning when clippy lint with clap issue is solved
|
||||||
|
// See https://github.com/clap-rs/clap/issues/4733
|
||||||
|
const NIGHTLY: &str = "nightly-2023-02-25";
|
||||||
|
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
pub struct CiArgs {
|
pub struct CiArgs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user