Support activeadmin v3, Drop ruby 2.7 support #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.3" | |
- 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: | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
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 |