From 0fe1fb9ca18d68341788932a9be9d485109fe220 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Thu, 9 Feb 2023 21:56:57 +0000 Subject: [PATCH] Remove unused pip cache paths in GHA & add a note for pre-commit.ci (#4151) * Remove unused pip caching paths in GHA * Add note about pre-commit.ci for open source --- {{cookiecutter.project_slug}}/.github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml index 0790187b..3c8ea878 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml @@ -31,10 +31,10 @@ jobs: with: python-version: "3.10" cache: pip - cache-dependency-path: | - requirements/base.txt - requirements/local.txt + {%- if cookiecutter.open_source_license != 'Not open source' %} + # Consider using pre-commit.ci for open source project + {%- endif %} - name: Run pre-commit uses: pre-commit/action@v2.0.3