diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3c294071f..ccf8c9c133 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: "Test all features" on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: jobs: @@ -12,6 +12,10 @@ jobs: runs-on: ubuntu-22.04 steps: + - uses: Swatinem/rust-cache@v2 + with: + key: tests-v0 + - name: Cancel previous runs uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # v0.11.0 with: