From 5351bd45ea9758737d7582d29f5901b126977e53 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 5 Apr 2021 14:13:04 +0200 Subject: [PATCH] Pin astroid precisely in test requirements See comments on review here: https://github.com/PyCQA/pylint/pull/4294\#discussion_r607054374 --- .github/workflows/ci.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 211e5179c5..0500617988 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: id: generate-python-key run: >- echo "::set-output name=key::base-venv-${{ env.CACHE_VERSION }}-${{ - hashFiles('pylint/__pkg_info__.py', 'requirements_test.txt', 'setup.cfg', 'requirements_test_min.txt') + hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt') }}" - name: Restore Python virtual environment id: cache-venv @@ -162,8 +162,8 @@ jobs: id: generate-python-key run: >- echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{ - hashFiles('pylint/__pkg_info__.py', 'requirements_test.txt', - 'setup.cfg', 'requirements_test_min.txt') }}" + hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt') + }}" - name: Restore Python virtual environment id: cache-venv uses: actions/cache@v2.1.4 @@ -334,7 +334,8 @@ jobs: id: generate-python-key run: >- echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{ - hashFiles('pylint/__pkg_info__.py', 'setup.cfg', 'requirements_test_min.txt') }}" + hashFiles('setup.cfg', 'requirements_test_min.txt') + }}" - name: Restore Python virtual environment id: cache-venv uses: actions/cache@v2.1.4 @@ -412,7 +413,8 @@ jobs: id: generate-python-key run: >- echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{ - hashFiles('pylint/__pkg_info__.py', 'setup.cfg', 'requirements_test_min.txt') }}" + hashFiles('setup.cfg', 'requirements_test_min.txt') + }}" - name: Restore Python virtual environment id: cache-venv uses: actions/cache@v2.1.4