Sha256: faec1cd272f842c82b0656fc129bd13b5591e259fdd91b5be9f5c8f71361e029

Contents?: true

Size: 937 Bytes

Versions: 25

Compression:

Stored size: 937 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: Bundle install
        run: bundle install --with development

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

  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.7', '3.0', '3.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

25 entries across 25 versions & 1 rubygems

Version Path
deimos-ruby-1.22.5 .github/workflows/ci.yml
deimos-ruby-1.22.4 .github/workflows/ci.yml
deimos-ruby-1.22.3 .github/workflows/ci.yml
deimos-ruby-1.22.2 .github/workflows/ci.yml
deimos-ruby-1.22.1 .github/workflows/ci.yml
deimos-ruby-1.22 .github/workflows/ci.yml
deimos-ruby-1.20.1 .github/workflows/ci.yml
deimos-ruby-1.20.0 .github/workflows/ci.yml
deimos-ruby-1.19.7 .github/workflows/ci.yml
deimos-ruby-1.19.6 .github/workflows/ci.yml
deimos-ruby-1.19.5 .github/workflows/ci.yml
deimos-ruby-1.19.4 .github/workflows/ci.yml
deimos-ruby-1.19.3 .github/workflows/ci.yml
deimos-ruby-1.19.2 .github/workflows/ci.yml
deimos-ruby-1.19.1 .github/workflows/ci.yml
deimos-ruby-1.19.1.pre.beta1 .github/workflows/ci.yml
deimos-ruby-1.19.0 .github/workflows/ci.yml
deimos-ruby-1.19.beta2 .github/workflows/ci.yml
deimos-ruby-1.19.beta1 .github/workflows/ci.yml
deimos-ruby-1.18.2 .github/workflows/ci.yml