Sha256: 0aa13cc498c874f379e8c48a29605af2527de2c215f3cd017297e3239e6c0eda

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 KB

Contents

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  lint:
    runs-on: ubuntu-18.04
    timeout-minutes: 20
    name: Lint
    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.event.pull_request.head.sha }}
    - name: Set up Ruby 2.4
      uses: ruby/setup-ruby@master
      with:
        ruby-version: '2.4'
        bundler-cache: true
    - name: Install dependencies
      run: bundle install --path=vendor/bundle --jobs 4 --retry 3
    - name: RuboCop Problem Matchers
      uses: r7kamura/rubocop-problem-matchers-action@v1.1.0
    - name: Run tests
      run: bundle exec rubocop

  test-ruby:
    runs-on: ubuntu-18.04
    timeout-minutes: 20
    strategy:
      matrix:
        ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0']
    name: Ruby ${{ matrix.ruby-version }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@master
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Install dependencies
      run: bundle install --path=vendor/bundle --jobs 4 --retry 3
    - name: Run tests
      run: bundle exec rake

  test-jruby:
    runs-on: ubuntu-18.04
    timeout-minutes: 20
    strategy:
      matrix:
        ruby-version: ['9.2.19.0']
    name: JRuby ${{ matrix.ruby-version }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@master
      with:
        ruby-version: jruby-${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Install dependencies
      run: bundle install --path=vendor/bundle --jobs 4 --retry 3
    - name: Run tests
      run: bundle exec rake

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gruff-0.14.0 .github/workflows/ci.yml
gruff-0.14.0-java .github/workflows/ci.yml