Skip to content

Commit 7d70a15

Browse files
committed
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!
1 parent 7951345 commit 7d70a15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
# Ensure clippy is installed
2424
- uses: actions-rust-lang/setup-rust-toolchain@v1
2525
with:
26+
toolchain: 1.83.0
2627
components: clippy
2728
- name: Clippy Check
2829
uses: clechasseur/rs-clippy-check@v4
2930
with:
3031
# We do not run clippy on plugins.
31-
working-directory: ./rust
32-
args: --all-features
32+
args: -p binaryninja --all-features
3333

3434
# Check formatting with rustfmt
3535
formatting:
@@ -40,6 +40,7 @@ jobs:
4040
# Ensure rustfmt is installed
4141
- uses: actions-rust-lang/setup-rust-toolchain@v1
4242
with:
43+
toolchain: 1.83.0
4344
components: rustfmt
4445
- name: Rustfmt Check
4546
uses: actions-rust-lang/rustfmt@v1

0 commit comments

Comments
 (0)