Sha256: 701c61438d5228a1064558b27c0464f3c3ec9477e33ee701126b179f4a53282b

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

name: CI

on:
  pull_request:
  push:
    branches:
      - main

jobs:
  specs:
    name: Ruby ${{ matrix.ruby-version }}
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version:
          - '2.7'
          - '3.0'
          - '3.1'
          - '3.2'
    steps:
      - uses: zendesk/checkout@v3
      - uses: zendesk/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Run Specs
        run: bundle exec rake spec
        env:
          ZUORA_CLIENT_ID: something
          ZUORA_CLIENT_SECRET: secret
          ZUORA_DOMAIN: rest.apisandbox.zuora.com

  specs_successful:
    name: Specs passing?
    needs: specs
    if: always()
    runs-on: ubuntu-latest
    steps:
      - run: |
          if ${{ needs.specs.result == 'success' }}
          then
            echo "All specs pass"
          else
            echo "Some specs failed"
            false
          fi

  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: zendesk/checkout@v3
      - name: Set up Ruby
        uses: zendesk/setup-ruby@v1
        with:
          ruby-version: "3.0"
          bundler-cache: true
      - run: bundle exec rake rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iron_bank-5.4.1 .github/workflows/ci.yml
iron_bank-5.4.0 .github/workflows/ci.yml