From 8ec56826fcc5b34c375659a1c7078c8d725d73ba Mon Sep 17 00:00:00 2001 From: David Lord Date: Mon, 7 Feb 2022 09:52:59 -0800 Subject: cache pip with setup-python action --- .github/workflows/tests.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4e48dd9c..680092ac 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -39,19 +39,13 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python }} + cache: 'pip' + cache-dependency-path: 'requirements/*.txt' - name: update pip run: | pip install -U wheel pip install -U setuptools python -m pip install -U pip - - name: get pip cache dir - id: pip-cache - run: echo "::set-output name=dir::$(pip cache dir)" - - name: cache pip - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }} - name: cache mypy uses: actions/cache@v2 with: -- cgit v1.2.1 From 98c058a1cac266a81547a415abb95a5fceb0c5df Mon Sep 17 00:00:00 2001 From: David Lord Date: Mon, 7 Feb 2022 09:53:18 -0800 Subject: stop using dependabot for python, too noisy --- .github/dependabot.yml | 10 ---------- 1 file changed, 10 deletions(-) (limited to '.github') diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b0251c75..90f94bc3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,5 @@ version: 2 updates: -- package-ecosystem: "pip" - directory: "/requirements" - target-branch: "2.0.x" - versioning-strategy: "lockfile-only" - schedule: - interval: "monthly" - day: "monday" - time: "16:00" - timezone: "UTC" - open-pull-requests-limit: 99 - package-ecosystem: "github-actions" directory: "/" schedule: -- cgit v1.2.1