Sha256: 60a41d8e050d385d0d7d08a07b0312b48b490dd9e3d8d4acafbd8f5c39fe4df0

Contents?: true

Size: 937 Bytes

Versions: 11

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@v3

      - 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@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Test
        run: bundle exec rspec

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
deimos-ruby-1.24.1 .github/workflows/ci.yml
deimos-ruby-1.24.0 .github/workflows/ci.yml
deimos-ruby-1.23.3 .github/workflows/ci.yml
deimos-ruby-1.23.2 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta6 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta5 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta4 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta3 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta2 .github/workflows/ci.yml
deimos-ruby-1.23.1.pre.beta1 .github/workflows/ci.yml
deimos-ruby-1.23.0 .github/workflows/ci.yml