From e2315ef0368239750398b2179cec074c6fa73dc4 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:58:39 +0200 Subject: [PATCH] BEHAVIOR: set `DISABLE_PRE_COMMIT_UV_PATCH=True` ' --- .github/workflows/pre-commit.yml | 3 +++ pip-install/action.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7ab2d13d..d58b1d8d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,6 +17,9 @@ on: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token required: false +env: + DISABLE_PRE_COMMIT_UV_PATCH: True + jobs: determine-hooks: name: Determine skipped pre-commit hooks diff --git a/pip-install/action.yml b/pip-install/action.yml index 70b54cbb..990c8e89 100644 --- a/pip-install/action.yml +++ b/pip-install/action.yml @@ -41,6 +41,8 @@ runs: echo "PIP_CACHE_DIR=~/Library/Caches/pip" >> $GITHUB_ENV echo "UV_CACHE_DIR=~/Library/Caches/uv" >> $GITHUB_ENV shell: bash + - run: mkdir -p ${{ env.PIP_CACHE_DIR }} ${{ env.UV_CACHE_DIR }} + shell: bash - name: Set cache identifier run: | extras="${{ inputs.extras }}"