Sha256: 59c864e88bb35e73e039d8b5327a2ff8ae77912a324e21077e6a9745690e033e

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

name: ci

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  ci:
    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        ruby:
          - version: 2.7
            continue-on-error: false
          - version: 3.0
            continue-on-error: false
          - version: 3.1
            continue-on-error: false
          - version: ruby-head
            continue-on-error: true
          - version: jruby-head
            continue-on-error: true

    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: ${{ matrix.ruby.version }}
      - name: Install dependencies
        run: bundle install
        continue-on-error: ${{ matrix.ruby.continue-on-error }}
      - name: Run rubocop
        run: bundle exec rubocop
        continue-on-error: ${{ matrix.ruby.continue-on-error }}
      - name: Run specs
        run: bundle exec rspec
        continue-on-error: ${{ matrix.ruby.continue-on-error }}
      - name: Coveralls
        uses: coverallsapp/github-action@master
        continue-on-error: true
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smart_types-0.8.0 .github/workflows/ci.yml