Sha256: eaff3c028cd241328fac67a0dd7676c64e77043b25111c0c395f0ac001a44efa

Contents?: true

Size: 893 Bytes

Versions: 6

Compression:

Stored size: 893 Bytes

Contents

name: Ruby

on: push

jobs:
  test:
    name: "Tests (on Ruby ${{ matrix.ruby_version }})"
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby_version: [2.5, 2.6, 2.7]

    steps:
    - name: Set up Ruby ${{ matrix.ruby_version }}
      uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby_version }}
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem update --system && gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test

  lint:
    name: "Lint (using Rubocop)"
    runs-on: ubuntu-latest
    steps:
    - name: Set up Ruby 2.5
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.5
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Lint Ruby code
      run: bin/rubocop

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minitest-silence-0.2.4 .github/workflows/ruby.yml
minitest-silence-0.2.3 .github/workflows/ruby.yml
minitest-silence-0.2.2 .github/workflows/ruby.yml
minitest-silence-0.2.1 .github/workflows/ruby.yml
minitest-silence-0.2.0 .github/workflows/ruby.yml
minitest-silence-0.1.0 .github/workflows/ruby.yml