Sha256: 2aa0b2b2f0d500504bd1aba340f7d28d4aa39975cd1d192b96b1239444de2c09

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

name: CI

on: [push]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby and install dependencies
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
        bundler-cache: true
    - name: Run linter
      run: bundle exec rubocop

  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [2.7, '3.0', 3.1]
        faraday_version: [''] # Defaults to whatever's the most recent version.
        include:
          - ruby: 2.7
            faraday_version: '~> 1.0'
    steps:
    - uses: actions/checkout@v2

    - name: Set up Ruby and install dependencies
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
      env:
        FARADAY_VERSION: ${{ matrix.faraday_version }}

    - name: Run tests
      run: bundle exec rake spec
      env:
        FARADAY_VERSION: ${{ matrix.faraday_version }}

    - name: Upload coverage artifacts
      uses: actions/upload-artifact@v2
      with:
        name: coverage
        path: coverage/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geo_combine-0.8.0 .github/workflows/ruby.yml