From 2333e851484ec7c28f21ef7acfa22ce130416f00 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sun, 21 Jan 2024 15:17:04 -0600 Subject: [PATCH] fix(ci): adjusting cache steps --- .github/workflows/cache.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index b586323..2c357bf 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -25,9 +25,9 @@ jobs: uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 with: path: ~/.ansible/collections - key: ${{ runner.os }}-ansible-${{ hashFiles('collections/requirements.txt') }} + key: ansible-${{ hashFiles('collections/requirements.txt') }} restore-keys: | - ${{ runner.os }}-ansible- + ansible- - name: Configure Homebrew cache uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 40b0487..e7108e2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 with: path: ~/.ansible/collections - key: ${{ runner.os }}-ansible-${{ hashFiles('collections/requirements.txt') }} + key: ansible-${{ hashFiles('collections/requirements.txt') }} - name: Install dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fb4ea0..27c0bdc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 with: path: ~/.ansible/collections - key: ${{ runner.os }}-ansible-${{ hashFiles('collections/requirements.txt') }} + key: ansible-${{ hashFiles('collections/requirements.txt') }} restore-keys: | ${{ runner.os }}-ansible-