Skip to content

Commit

Permalink
fix(ci): adjusting cache steps
Browse files Browse the repository at this point in the history
  • Loading branch information
timothystewart6 committed Jan 22, 2024
1 parent 4b8c97c commit eb89255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with:
path: ~/.ansible/collections
key: ansible-${{ hashFiles('collections/requirements.txt') }}
key: ansible-${{ hashFiles('collections/requirements.yml') }}

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with:
path: ~/.ansible/collections
key: ansible-${{ hashFiles('collections/requirements.txt') }}
key: ansible-${{ hashFiles('collections/requirements.yml') }}

- name: Restore Homebrew cache
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with:
path: ~/.ansible/collections
key: ansible-${{ hashFiles('collections/requirements.txt') }}
key: ansible-${{ hashFiles('collections/requirements.yml') }}
restore-keys: |
${{ runner.os }}-ansible-
Expand Down

0 comments on commit eb89255

Please sign in to comment.