Sha256: 5aaf4e573753a072cb60cd720efe87f3c30584e910e4dd463f813c852b936dc8

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

name: Ruby

on:
  push:
    branches:
      - main
  pull_request:
    types:
      - opened
      - synchronize
      - reopened

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.1"
      - name: Install bundler
        run: gem install bundler
      - name: Setup
        run: bin/setup
      - name: Rubocop
        run: bundle exec rubocop --fail-level W
  # steep:
  #   runs-on: ubuntu-latest
  #   steps:
  #     - uses: actions/checkout@v2
  #     - name: Set up Ruby
  #       uses: ruby/setup-ruby@v1
  #       with:
  #         ruby-version: "3.1"
  #     - name: Install bundler
  #       run: gem install bundler
  #     - name: Setup
  #       run: bin/setup
  #     - name: Steep
  #       run: bundle exec steep check
  rspec:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - "2.7"
          - "3.0"
          - "3.1"
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install bundler
        run: gem install bundler
      - name: Setup
        run: bin/setup
      - name: RSpec
        run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin-menu_tree-0.2.3 .github/workflows/main.yml