Update rust.yml

This commit is contained in:
Shunsuke Shibayama 2022-12-23 15:51:44 +09:00
parent fea77fee4b
commit b0339cef32
1 changed files with 2 additions and 1 deletions

View File

@ -17,10 +17,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
# installing is required for the tests
- name: Build - name: Build
run: | run: |
rustup update stable rustup update stable
cargo build --verbose cargo install --path .
# Removed because it caused a segmentation fault and would not stop executing. Testing should be done locally. # Removed because it caused a segmentation fault and would not stop executing. Testing should be done locally.
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose