Use simple Rust setup action
This commit is contained in:
parent
0ef7331276
commit
7a1b92280d
1 changed files with 2 additions and 7 deletions
|
@ -11,10 +11,8 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
override: false
|
||||
components: rustfmt
|
||||
- name: Check Rust formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
@ -59,10 +57,7 @@ jobs:
|
|||
- name: Set up Python environment
|
||||
run: pip install -r requirements.txt
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: false
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- name: Build Rust code
|
||||
run: maturin develop
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue