From e0416c072fb60824e2aa2230d3575ba6a0728201 Mon Sep 17 00:00:00 2001 From: Alex Way Date: Wed, 10 Jan 2024 18:33:46 +0000 Subject: [PATCH] Reformat --- .github/workflows/rust.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9c410a0..23f5ccf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,20 +2,22 @@ name: Rust on: push: - branches: [ "main" ] + branches: + - "main" pull_request: - branches: [ "main" ] + branches: + - "main" env: CARGO_TERM_COLOR: always jobs: build: - runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -28,7 +30,9 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- + - name: Build run: cargo build --verbose + - name: Run tests run: cargo test --verbose