diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 7886c95..9299281 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -22,5 +22,17 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Restore pip cache + uses: actions/cache/restore@v4 + with: + path: /home/runner/.cache/pip + key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} + - name: Run Ansible-lint uses: ansible/ansible-lint@main + + - name: Store pip cache + uses: actions/cache/save@v4 + with: + path: /home/runner/.cache/pip + key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}