From f11885975003e1ce7140238551622d9222fd4a32 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Mon, 16 Jun 2025 13:47:47 +0200 Subject: [PATCH] test: add cache --- .forgejo/workflows/check_and_lint.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/check_and_lint.yaml b/.forgejo/workflows/check_and_lint.yaml index 8c5c785..a6b7be1 100644 --- a/.forgejo/workflows/check_and_lint.yaml +++ b/.forgejo/workflows/check_and_lint.yaml @@ -5,4 +5,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: https://github.com/dtolnay/rust-toolchain@stable + - uses: https://github.com/Swatinem/rust-cache + with: + shared-key: forge_automate_amd64 + save-if: ${{ github.ref = 'refs/heads/main' }} + - run: cargo test