Sha256: 5b07d7278a27257f94c05036c264da73f2d91d3e7e0a9e6e1e1d7eebc60247aa

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

name: CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        gemfile:
          - Gemfile
          - gemfiles/Gemfile-rails-6-0
        ruby:
          - 2.6
          - 2.7
          - 3.0
        exclude:
          - ruby: 2.6
            gemfile: Gemfile
    env:
      BUNDLE_GEMFILE: ${{ matrix.gemfile }}
    name: "Tests: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }}"
    steps:
      - uses: actions/checkout@v1
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Run tests
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          bundle exec rake
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Set up Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 3.0.x
      - name: Run style checks
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          bundle exec rubocop
  static-type-checking:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Set up Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 3.0.x
      - name: Run static type checks
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          bundle exec srb tc

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
packwerk-1.2.0 .github/workflows/ci.yml
packwerk-1.1.3 .github/workflows/ci.yml