From 7d70a1596686479cca73aa983e3adcc1ca4c089d Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 24 Feb 2025 20:45:19 -0500 Subject: Specify target rust version in Rust CI This impacts the linter and formatting jobs, one day we will store the rust target version as a environment variable... one day. Then no one will understand what is going on! --- .github/workflows/rust.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5d06aaa4..47f75c31 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,13 +23,13 @@ jobs: # Ensure clippy is installed - uses: actions-rust-lang/setup-rust-toolchain@v1 with: + toolchain: 1.83.0 components: clippy - name: Clippy Check uses: clechasseur/rs-clippy-check@v4 with: # We do not run clippy on plugins. - working-directory: ./rust - args: --all-features + args: -p binaryninja --all-features # Check formatting with rustfmt formatting: @@ -40,6 +40,7 @@ jobs: # Ensure rustfmt is installed - uses: actions-rust-lang/setup-rust-toolchain@v1 with: + toolchain: 1.83.0 components: rustfmt - name: Rustfmt Check uses: actions-rust-lang/rustfmt@v1 -- cgit v1.3.1