Sha256: 21887f7c6f341a6f495c136998cf88f149c51ae67426c3545ff774acd1d9a740

Contents?: true

Size: 1.3 KB

Versions: 13

Compression:

Stored size: 1.3 KB

Contents

name: Verify

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
  actions: none
  checks: none
  contents: none
  deployments: none
  id-token: none
  issues: none
  discussions: none
  packages: none
  pages: none
  pull-requests: none
  repository-projects: none
  security-events: none
  statuses: none

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

      - 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

13 entries across 13 versions & 3 rubygems

Version Path
rex-socket-0.1.45 .github/workflows/verify.yml
rex-socket-0.1.44 .github/workflows/verify.yml
rex-text-0.2.47 .github/workflows/verify.yml
ruby_smb-3.2.1 .github/workflows/verify.yml
rex-text-0.2.46 .github/workflows/verify.yml
rex-socket-0.1.43 .github/workflows/verify.yml
rex-text-0.2.45 .github/workflows/verify.yml
rex-text-0.2.44 .github/workflows/verify.yml
rex-text-0.2.43 .github/workflows/verify.yml
rex-text-0.2.42 .github/workflows/verify.yml
rex-text-0.2.41 .github/workflows/verify.yml
rex-text-0.2.40 .github/workflows/verify.yml
rex-socket-0.1.42 .github/workflows/verify.yml