Skip to content

Make Codecov working again #1373

Make Codecov working again

Make Codecov working again #1373

Workflow file for this run

name: Rubocop
on:
pull_request:
push:
branches:
- main
jobs:
lint:
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Build docker image and run rubocop within it
# See https://docs.codecov.io/docs/testing-with-docker
run: |
./docker/build --ci
./docker/rubocop ${{ github.event.pull_request.base.sha }} ${{ github.sha }}