Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pin rust to nightly-2024-09-09 until public-api fixed #1028

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: nightly-2024-09-09
components: rustfmt, clippy, miri, rust-src

- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run miri
run: |
set -euxo pipefail
cargo hack miri test --all-targets --feature-powerset \
cargo +nightly-2024-09-09 hack miri test --all-targets --feature-powerset \
--exclude aya-ebpf \
--exclude aya-ebpf-bindings \
--exclude aya-log-ebpf \
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: nightly-2024-09-09
components: rust-src

- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: nightly-2024-09-09
components: rust-src
targets: aarch64-unknown-linux-musl,x86_64-unknown-linux-musl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: nightly-2024-09-09
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2
Expand Down
2 changes: 1 addition & 1 deletion ebpf/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-09-09"
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
publish = "site"
command = "rustup toolchain install nightly -c rust-src && cargo xtask docs"
command = "rustup toolchain install nightly-2024-09-09 -c rust-src && cargo xtask docs"
2 changes: 1 addition & 1 deletion test/integration-ebpf/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-09-09"
2 changes: 1 addition & 1 deletion xtask/src/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn docs(metadata: Metadata) -> Result<()> {
Command::new("cargo")
.current_dir(&workspace_root)
.env("RUSTDOCFLAGS", rustdocflags)
.args(["+nightly", "doc", "--no-deps", "--all-features"])
.args(["+nightly-2024-09-09", "doc", "--no-deps", "--all-features"])
.args(
PACKAGE_TO_DESCRIPTION
.iter()
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/public_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct Options {
}

pub fn public_api(options: Options, metadata: Metadata) -> Result<()> {
let toolchain = "nightly";
let toolchain = "nightly-2024-09-09";
let Options { bless, target } = options;

if !rustup_toolchain::is_installed(toolchain)? {
Expand Down
Loading