Skip to content

Commit

Permalink
Move rubocop cache step
Browse files Browse the repository at this point in the history
  • Loading branch information
lovro-bikic committed Jan 12, 2022
1 parent 6a2b708 commit ae73f68
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Prepare RuboCop cache
uses: actions/cache@v2
with:
path: tmp/rubocop-cache
key: ${{ runner.os }}-rubocop-cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-rubocop-cache-
- name: Set up Node
uses: actions/setup-node@v2
if: ${{ inputs.use_node }}
Expand All @@ -87,13 +94,6 @@ jobs:
- name: Install JS packages
if: ${{ inputs.use_node }}
run: yarn install --frozen-lockfile
- name: Prepare RuboCop cache
uses: actions/cache@v2
with:
path: tmp/rubocop-cache
key: ${{ runner.os }}-rubocop-cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-rubocop-cache-
- name: Prepare CI
run: bin/prepare_ci
env:
Expand Down

0 comments on commit ae73f68

Please sign in to comment.