Skip to content

Commit

Permalink
Add cache mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 23, 2024
1 parent 6713248 commit c141e5a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}

Check failure on line 30 in .github/workflows/lints.yml

View workflow job for this annotation

GitHub Actions / AnsibleLint

yaml[trailing-spaces]

Trailing spaces
- 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') }}

0 comments on commit c141e5a

Please sign in to comment.