From 9217d8607bcde428ac7bae72f975ea89d6da2432 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Tue, 1 Nov 2022 20:19:00 -0500 Subject: [PATCH] feat(gh-actions-controller): added --- .github/workflows/lint.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 43754e51..6aadb3ca 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,10 +27,18 @@ jobs: uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-pip-${{ hashFiles('./requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- + - name: Cache Ansible + uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11 + with: + path: ~/.ansible/collections + key: ${{ runner.os }}-ansible-${{ hashFiles('collections/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-ansible- + - name: Install dependencies run: | echo "::group::Upgrade pip"