Merge pull request #504 from vadorovsky/unpin-nightly

Unpin Rust nightly
pull/501/head
Michal Rostecki 2 years ago committed by GitHub
commit d2a999d27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly-2023-01-10 toolchain: nightly
components: rust-src components: rust-src
override: true override: true

@ -57,7 +57,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly-2023-01-10 toolchain: nightly
components: rustfmt, clippy, rust-src components: rustfmt, clippy, rust-src
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
override: true override: true

@ -1,3 +1,3 @@
[build] [build]
publish = "site" publish = "site"
command = "rustup toolchain install nightly-2023-01-10 -c rust-src && cargo xtask docs" command = "rustup toolchain install nightly -c rust-src && cargo xtask docs"

@ -60,7 +60,7 @@ fn build_rust_ebpf(opts: &BuildEbpfOptions) -> anyhow::Result<()> {
let target = format!("--target={}", opts.target); let target = format!("--target={}", opts.target);
let mut args = vec![ let mut args = vec![
"+nightly-2023-01-10", "+nightly",
"build", "build",
"--verbose", "--verbose",
target.as_str(), target.as_str(),

@ -61,7 +61,7 @@ fn build_docs(working_dir: &PathBuf, abs_header_path: &Path) -> Result<(), anyho
.expect("failed to replace logo"); .expect("failed to replace logo");
assert!(replace.success()); assert!(replace.success());
let args = vec!["+nightly-2023-01-10", "doc", "--no-deps", "--all-features"]; let args = vec!["+nightly", "doc", "--no-deps", "--all-features"];
let status = Command::new("cargo") let status = Command::new("cargo")
.current_dir(working_dir) .current_dir(working_dir)

Loading…
Cancel
Save