Skip to content

Commit

Permalink
Merge pull request #14 from rubocop-hq/github-actions
Browse files Browse the repository at this point in the history
GitHub Actions
  • Loading branch information
bquorning authored Nov 12, 2020
2 parents 99fc07d + 76e3cab commit ab11c24
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .circleci/config.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on: push

jobs:
main:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
steps:
- uses: actions/checkout@v2

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Install gems
run: bundle install

- name: RuboCop
run: bundle exec rubocop --parallel

- name: RSpec
run: bundle exec rspec
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CircleCI status](https://circleci.com/gh/rubocop-hq/rubocop-sequel.svg?style=svg)](https://circleci.com/gh/rubocop-hq/rubocop-sequel)
![CI status](https://github.com/rubocop-hq/rubocop-sequel/workflows/CI/badge.svg)

# RuboCop Sequel

Expand Down

0 comments on commit ab11c24

Please sign in to comment.