summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-24 20:45:19 -0500
committerMason Reed <mason@vector35.com>2025-02-24 20:55:26 -0500
commit7d70a1596686479cca73aa983e3adcc1ca4c089d (patch)
tree867e042796724914acbaf562f0252f23e1287c34 /.github
parent79513450cf65456289dbc202858ffd75bb9fac89 (diff)
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!
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml5
1 files changed, 3 insertions, 2 deletions
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