Sha256: 44ae49a4325cdd41bbf2d4c0e77d753b3f20e0c571c9322fb6500060ff634f14

Contents?: true

Size: 1007 Bytes

Versions: 5

Compression:

Stored size: 1007 Bytes

Contents

name: Verify

on:
  push:
    branches:
      - '*'
  pull_request:
    branches:
      - '*'

jobs:
  test:
    runs-on: ${{ matrix.os }}
    timeout-minutes: 40

    strategy:
      fail-fast: true
      matrix:
        ruby:
          - '2.7'
          - '3.0'
          - '3.1'
          - '3.2'
        os:
          - ubuntu-20.04
          - ubuntu-latest
        exclude:
          - { os: ubuntu-latest, ruby: '2.7' }
          - { os: ubuntu-latest, ruby: '3.0' }
        test_cmd:
          - bundle exec rspec

    env:
      RAILS_ENV: test

    name: ${{ matrix.os }} - Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: ${{ matrix.test_cmd }}
        run: |
          echo "${CMD}"
          bash -c "${CMD}"
        env:
          CMD: ${{ matrix.test_cmd }}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
rex-exploitation-0.1.41 .github/workflows/verify.yml
rex-random_identifier-0.1.15 .github/workflows/verify.yml
rex-random_identifier-0.1.14 .github/workflows/verify.yml
rex-random_identifier-0.1.13 .github/workflows/verify.yml
rex-exploitation-0.1.40 .github/workflows/verify.yml