Sha256: e8716787e1152f3a662c612a53e969fb01e57df652d17112f3a637e7ce0ecd40

Contents?: true

Size: 822 Bytes

Versions: 2

Compression:

Stored size: 822 Bytes

Contents

name: Ruby

on: [push,pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    services:
      rabbitmq:
        image: rabbitmq:latest
        ports:
        - 5672/tcp
        # needed because the rabbitmq container does not provide a healthcheck
        options: >-
          --health-cmd "rabbitmqctl node_health_check"
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
    strategy:
      fail-fast: false
      matrix:
        ruby: ['2.6', '2.7', '3.0']
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Run the default task
      run: |
        bundle install
        bundle exec rake
      env:
        AMQP_PORT: ${{ job.services.rabbitmq.ports[5672] }}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amqp-client-1.1.1 .github/workflows/main.yml
amqp-client-1.1.0 .github/workflows/main.yml