.github/workflows/test.yml in weneedfeed-0.8.0 vs .github/workflows/test.yml in weneedfeed-0.9.0
- old
+ new
@@ -5,16 +5,26 @@
push:
branches:
- master
jobs:
- build:
- runs-on: ubuntu-18.04
+ rspec:
+ runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 2.7.2
+ - run: bundle exec rspec --force-color
+ rubocop:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.sha }}
+ - uses: ruby/setup-ruby@v1
+ with:
+ bundler-cache: true
+ ruby-version: 2.7.2
- uses: r7kamura/rubocop-problem-matchers-action@v1
- run: bundle exec rubocop --parallel
- - run: bundle exec rspec --force-color