From 88917f94771dc69e7147ca06b4edf7e127c135e9 Mon Sep 17 00:00:00 2001 From: Ana Harris Date: Wed, 9 Aug 2023 15:04:08 -0500 Subject: [PATCH] cache fix --- .github/workflows/lint.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 64ccf8e..66b1385 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,11 +24,12 @@ jobs: uses: actions/cache@v3 with: path: vendor/bundle + key: ${{ runner.os }}-bundle-{{ hashFiles("**/Gemfile.lock") }} restore-keys: | - codecademy-style-gem-${{ github.ref_name }}-${{ hashFiles('Gemfile.lock') }} - codecademy-style-gem-${{ github.ref_name }} - codecademy-style-gem-main - codecademy-style-gem- + ${{ runner.os }}-${{ hashFiles('**/Gemfile.lock') }} + ${{ runner.os }}-${{ github.ref_name }} + ${{ runner.os }}-main + ${{ runner.os }}- - name: Run Rubocop run: bundle exec rubocop --config ./.rubocop.yml \ No newline at end of file