Sha256: 22dcc728bc2f10baba2625e1516a66305edec885b0ec6605f5098e459c6c772c

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

name: Ruby CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:
    name: "Ruby ${{ matrix.ruby }}, Gemfile ${{ matrix.gemfile }}"
    runs-on: ubuntu-latest

    strategy:
      fail-fast: true
      matrix:
        ruby: ['3.3', '3.2', '3.1']
        gemfile: ['rails61', 'rails7', 'rails71']

    env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
      BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Run tests
        run: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cognito_token_verifier-0.7.0 .github/workflows/ruby-ci.yml