Sha256: f20422b832797bd5369baf18d786226f103c04cd37f9728e24bd35cc347b4369

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

name: CI

on: push

jobs:
  test:
    name: Tests
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - "2.7"
          - "3.0"
        bundler:
          - "1"
          - "2"
    env:
      BUNDLE_GEMFILE: gemfiles/bundler${{ matrix.bundler }}.gemfile
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler: ${{ matrix.bundler }}
        bundler-cache: true
    - name: Install bundler v1 # Even if we're testing bundler v2, we need v1 available because the fixture components have it in their Gemfile.locks
      run: gem install bundler -v "~> 1" --no-document
    - name: Install Graphviz
      run: sudo apt -qq install graphviz
    - name: Run tests
      run: bundle exec rake spec
  lint:
    name: Lint Ruby
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
    - name: Bundle
      run: bundle
    - name: Run Rubocop
      run: bundle exec rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cobra_commander-0.15.1 .github/workflows/ci.yml
cobra_commander-0.15.0 .github/workflows/ci.yml