Sha256: 78b11896231fad4140e4b31d70c384db0a06e6becc9e10caa6c91d113bce8c0d

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby

on: push

jobs:
  test_30:
    runs-on: ubuntu-latest
    container: ruby:3.0

    services:
      redis:
        image: redis

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test
      env:
        REDIS_URL: redis://redis:6379

  test_26:
    runs-on: ubuntu-latest
    container: ruby:2.6

    services:
      redis:
        image: redis

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Run tests
      run: bin/rake test
      env:
        REDIS_URL: redis://redis:6379

  typecheck:
    runs-on: ubuntu-latest
    container: ruby:2.6
    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Typecheck Ruby code
      run: bin/srb tc

  lint:
    runs-on: ubuntu-latest
    container: ruby:2.6
    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: gem install bundler && bundle install
    - name: Lint Ruby code
      run: bin/rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minitest-distributed-0.2.5 .github/workflows/ruby.yml
minitest-distributed-0.2.4 .github/workflows/ruby.yml