From e4894679f9bc7e31afcb0a934fafde96d16386b7 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 28 Dec 2023 21:56:46 -0500 Subject: [PATCH] Fix woodpecker ci --- .woodpecker/.build.yml | 4 ++-- rust-toolchain | 1 - rust-toolchain.toml | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 rust-toolchain create mode 100644 rust-toolchain.toml diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index dc78ca2..4bef0dd 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -1,11 +1,11 @@ variables: - - &rust_image 'rust:1.73' + - &rust_image 'git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm' steps: build: image: *rust_image commands: - apt update - - apt install libudev-dev + - apt install libudev-dev -y - cargo build --release - cargo test \ No newline at end of file diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 07ade69..0000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -nightly \ No newline at end of file diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5b28b38 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "nightly-2023-11-21" +#components = [ "rustfmt", "rustc-dev" ] +targets = [ "x86_64-unknown-linux-gnu" ] +#profile = "minimal" \ No newline at end of file