From 237a07f96f1280e182a37b2b48347e3ea2d66e49 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 2 Sep 2024 09:25:12 +0200 Subject: [PATCH] CI: Update actions --- .github/workflows/ci.yaml | 5 ++--- .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ee865b53..1feef010e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,15 +56,14 @@ jobs: submodules: recursive - name: Cache ccache - uses: rhaschke/cache@main + uses: actions/cache@v4 with: + save-always: true path: ${{ env.CCACHE_DIR }} key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} restore-keys: | ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }} ccache-${{ env.CACHE_PREFIX }} - env: - GHA_CACHE_SAVE: always - id: ici name: Run industrial_ci diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cff5e8c05..6557cc434 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black args: ["--line-length", "100"]