update test

This commit is contained in:
Ernaldis 2023-09-15 14:20:23 -05:00
parent 99adc72e8e
commit c08b0930f8
No known key found for this signature in database
GPG key ID: 5C2C4C2F84BFC021

View file

@ -38,29 +38,20 @@ jobs:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-
${{ runner.os }}-build-
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run tests
run: cargo build
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-
- uses: actions-rs/toolchain@v1
with:
toolchain: stable