From c08b0930f82351c5425ba5756b5fd5da701e49d6 Mon Sep 17 00:00:00 2001 From: Ernaldis Date: Fri, 15 Sep 2023 14:20:23 -0500 Subject: [PATCH] update test --- .github/workflows/test.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84dd2d6..c4d0e41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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