Sha256: c6a3b7debd696ff225429bd085ddf3f06da1694db31e672b9bc4deca66f91813

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

name: Main
on:
- push
- pull_request_target
jobs:
  ci:
    name: CI
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        gemfile:
        - "5.1"
        - "5.2"
        - "6.0"
        - "6.1"
    env:
      CI: true
      BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
    steps:
    - uses: actions/checkout@master
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
        bundler-cache: true
    - name: Lint and test
      run: |
        bundle exec rubocop --parallel
        bundle exec rake test
        bundle exec steep check
  automerge:
    name: AutoMerge
    needs: ci
    runs-on: ubuntu-latest
    if: github.event_name == 'pull_request_target' && (github.actor == github.repository_owner || github.actor == 'dependabot[bot]')
    steps:
    - uses: actions/github-script@v3
      with:
        script: |
          github.pulls.merge({
            owner: context.payload.repository.owner.login,
            repo: context.payload.repository.name,
            pull_number: context.payload.pull_request.number
          })

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fast_underscore-0.3.3 .github/workflows/main.yml
fast_underscore-0.3.2 .github/workflows/main.yml