Skip to content

Commit

Permalink
Moving rust toolchain from justfile to workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
godmodegalactus committed Sep 11, 2023
1 parent 02131f9 commit 0842f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-code-review-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.70.0
profile: minimal
components: rustc

Expand Down
3 changes: 1 addition & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ test TEST_NAME:
cargo test-sbf --features enable-gpl -- {{ TEST_NAME }}

test-all:
rustup install 1.70.0
(cd ./programs/openbook-v2 && RUST_LOG=ERROR cargo +1.70.0 test-sbf --features enable-gpl)
(cd ./programs/openbook-v2 && RUST_LOG=ERROR cargo test-sbf --features enable-gpl)

test-dev:
(find programs) | entr -s 'just test-all'
Expand Down

0 comments on commit 0842f01

Please sign in to comment.