Sha256: decc58444f5acddab479456f6767c9d7cff5ffcec24de6a0c12a554a8510bee4

Contents?: true

Size: 710 Bytes

Versions: 3

Compression:

Stored size: 710 Bytes

Contents

name: rubocop

on:
  pull_request:
    types: [opened, synchronize]
  push:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 10

    steps:
    - uses: actions/checkout@v4
    - name: setup ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '2.7'
    - name: cache gems
      uses: actions/cache@v4
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: ${{ runner.os }}-rubocop-
    - name: install gems
      run: |
        bundle config set path vendor/bundle
        bundle install --jobs 4 --retry 3
    - name: exec rubocop
      run: bundle exec rubocop --parallel

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.6.3 .github/workflows/rubocop.yaml
activerecord-spanner-adapter-1.6.2 .github/workflows/rubocop.yaml
activerecord-spanner-adapter-1.6.1 .github/workflows/rubocop.yaml