Sha256: e81bfdb136c6550eb1592a12ed78299c96edbc16ea131f2fd61af0871cd4b252

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

name: 'Test and lint'
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]
jobs:
  lint-and-test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2.0-preview1']
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
      - name: Setup Ruby ${{ matrix.ruby_version }}
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: ${{ matrix.ruby_version }}
      - name: Install dependencies
        run: bundle install
      - name: Lint Ruby files
        run: bundle exec rubocop
      - name: Run RSpec tests
        run: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
airports-1.8.3 .github/workflows/test_and_lint.yml
airports-1.8.2 .github/workflows/test_and_lint.yml