From a0255a61e1c85c3f5e257b3ccfb7e37913e69761 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 4 Mar 2020 22:16:50 +0200 Subject: [PATCH 1/3] Add a version number to cache file to invalidate it --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0d6030e..e543be6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,7 @@ jobs: uses: actions/cache@v1 with: path: ~/.cache/pre-commit - key: lint-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }} + key: lint-pre-commit-v1-${{ hashFiles('**/.pre-commit-config.yaml') }} restore-keys: | lint-pre-commit- From c8e3162b9dc57e4cc2190639e775a3bca34ff526 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 4 Mar 2020 22:18:39 +0200 Subject: [PATCH 2/3] Add a version number to cache file to invalidate it --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e543be6..0d8ce71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs: path: ~/.cache/pre-commit key: lint-pre-commit-v1-${{ hashFiles('**/.pre-commit-config.yaml') }} restore-keys: | - lint-pre-commit- + lint-pre-commit-v1- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 From 7005dbc13fdf59e60cff034aa38f16fa2af4c2e9 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 4 Mar 2020 22:22:33 +0200 Subject: [PATCH 3/3] Bump to test with a new cache --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 3d359d9..7238518 100755 --- a/setup.py +++ b/setup.py @@ -44,5 +44,3 @@ setup( "Programming Language :: Python :: Implementation :: PyPy", ], ) - -# End of file