ci: enable cache on failure (#85)

* ci: enable cache on failure

* fix
This commit is contained in:
Nugine
2024-10-12 15:05:22 +08:00
committed by GitHub
parent 472b67e930
commit 0f39887cdb
2 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,6 @@ name: E2E
on:
workflow_dispatch:
push:
pull_request:
branches: [ "main" ]
@@ -88,6 +87,8 @@ jobs:
# components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: run fs start
working-directory: .

View File

@@ -86,6 +86,8 @@ jobs:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: cargo fmt
run: cargo fmt --all --check