Sha256: 0b60b22f35db674940d374f0de53f2b426b94ba9a5dda934e9b5983d7c005fd0

Contents?: true

Size: 1005 Bytes

Versions: 20

Compression:

Stored size: 1005 Bytes

Contents

name: CI

on:
  pull_request:
  push:
    branches: [ master ]

env:
  GIT_COMMIT_SHA: ${{ github.sha }}
  GIT_BRANCH: ${{ github.ref }}

jobs:
  linting:
    runs-on: ubuntu-latest
    env:
      BUNDLE_WITH: lint
      BUNDLE_WITHOUT: development:test

    steps:
      - uses: actions/checkout@v2

      - name: Set up Ruby 2.7
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
          bundler-cache: true

      - name: Rubocop
        run: bundle exec rubocop --format progress

  build:
    runs-on: ubuntu-latest
    env:
      BUNDLE_GEMFILE: ${{ github.workspace }}/.gemfiles/${{ matrix.gemfile }}.gemfile
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.7', '3.0', '3.1' ]
        gemfile: [ 'avro_turf-0', 'avro_turf-1' ]

    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Test
        run: bundle exec rspec

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
deimos-ruby-1.16.4 .github/workflows/ci.yml
deimos-ruby-1.16.3 .github/workflows/ci.yml
deimos-ruby-1.16.2 .github/workflows/ci.yml
deimos-ruby-1.16.1 .github/workflows/ci.yml
deimos-ruby-1.16.0 .github/workflows/ci.yml
deimos-ruby-1.15.1 .github/workflows/ci.yml
deimos-ruby-1.15.0 .github/workflows/ci.yml
deimos-ruby-1.14.6 .github/workflows/ci.yml
deimos-ruby-1.14.5 .github/workflows/ci.yml
deimos-ruby-1.14.4 .github/workflows/ci.yml
deimos-ruby-1.14.3 .github/workflows/ci.yml
deimos-ruby-1.14.2 .github/workflows/ci.yml
deimos-ruby-1.14.1 .github/workflows/ci.yml
deimos-ruby-1.14.0 .github/workflows/ci.yml
deimos-ruby-1.13.3 .github/workflows/ci.yml
deimos-ruby-1.13.2 .github/workflows/ci.yml
deimos-ruby-1.13.1 .github/workflows/ci.yml
deimos-ruby-1.13.0 .github/workflows/ci.yml
deimos-ruby-1.12.6 .github/workflows/ci.yml
deimos-ruby-1.12.5 .github/workflows/ci.yml