From 09221fd6111cae0dcd1775654d52d50a003d069f Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 22 Mar 2026 18:00:15 +0200 Subject: [PATCH] Cache prek hook environments in CI --- .github/workflows/matrix.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index 1101d739c..4c4d5cc25 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -28,6 +28,12 @@ jobs: - name: Check out uses: actions/checkout@v6 + - name: Restore prek cache + uses: actions/cache@v4 + with: + path: var/prek + key: arch-prek-v1-${{ hashFiles('.pre-commit-config.yaml') }} + - name: Install dependencies run: pacman -S --noconfirm --needed just mise python