This commit is contained in:
parent
34a386ee9a
commit
3bb9abfcd6
1 changed files with 4 additions and 10 deletions
|
@ -10,13 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest # Or other appropriate runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4 # Checkout the repository
|
||||
- name: Install Rust toolchain
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
. "$HOME/.cargo/env"
|
||||
- name: Get cargo path
|
||||
run: which cargo
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- run: cargo build --release --all-features
|
Loading…
Add table
Reference in a new issue