Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
epaew committed Apr 10, 2021
1 parent 6698146 commit bcbd1c0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: RSpec

on:
- push
- pull_request

jobs:
rspec:
name: RSpec
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby_version:
- 2.6
- 2.7
- 3.0
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true

- run: bundle exec rake
18 changes: 18 additions & 0 deletions .github/workflows/rubocop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: RuboCop

on:
- push
- pull_request

jobs:
rubocop:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true

- run: bundle exec rubocop

0 comments on commit bcbd1c0

Please sign in to comment.