From 3ba78f6958192dcea8ac91378d53066870e23ace Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Thu, 30 Dec 2021 12:46:01 -0500 Subject: [PATCH] Update requirements for the update software workflow Update the workflow's requirements to use a specific version at the updated location of the Python project doing the heavy lifting. Additionally the requirements file is added to the actions/cache key used. --- .github/workflows/update_software_list.yml | 3 ++- config/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_software_list.yml b/.github/workflows/update_software_list.yml index f329803..78bf4f5 100644 --- a/.github/workflows/update_software_list.yml +++ b/.github/workflows/update_software_list.yml @@ -50,7 +50,8 @@ jobs: path: | ${{ env.PIP_CACHE_DIR }} key: "${{ env.BASE_CACHE_KEY }}\ - ${{ hashFiles('.github/workflows/update_software_list.yml') }}" + ${{ hashFiles('.github/workflows/update_software_list.yml') }}-\ + ${{ hashFiles('config/requirements.txt') }}" restore-keys: | ${{ env.BASE_CACHE_KEY }} - name: Update Python base packages diff --git a/config/requirements.txt b/config/requirements.txt index aaaced1..63b21e5 100644 --- a/config/requirements.txt +++ b/config/requirements.txt @@ -1 +1 @@ -https://api.github.com/repos/cisagov/md-table-to-yml/tarball/develop +https://github.com/cisagov/log4j-md-yml/archive/v1.0.0.tar.gz