Sha256: 28383f5349a131d3ce539da101c10ee657746e2a544546e499aa2645af3eac45

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

on:
  pull_request:
    branches:
      - main
      - master
  push:
    branches:
      - main
      - master

jobs:
  test:
    name: Build and Publish
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        ruby-version: [2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7]
    steps:
      - name: Check out code
        uses: actions/checkout@v4

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

      - name: Test
        run: bundle exec rake

      - name: Sync README
        run: |
          bundle exec script/sync-readme-usage
          git diff --exit-code

  results:
    if: ${{ always() }}
    runs-on: ubuntu-latest
    name: Final Results
    needs: [test]
    steps:
      - run: exit 1
        # see https://stackoverflow.com/a/67532120/4907315
        if: >-
          ${{
               contains(needs.*.result, 'failure')
            || contains(needs.*.result, 'cancelled')
          }}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aptible-cli-0.24.1 .github/workflows/test.yml
aptible-cli-0.24.0 .github/workflows/test.yml
aptible-cli-0.23.0 .github/workflows/test.yml
aptible-cli-0.22.0 .github/workflows/test.yml