.github/workflows/ci.yml in stylegen-0.1.0 vs .github/workflows/ci.yml in stylegen-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
name: CI
on:
push:
- branches: [ master ]
+ branches: "*"
pull_request:
- branches: [ master ]
+ branches: "*"
jobs:
test:
runs-on: ubuntu-latest
@@ -26,7 +26,9 @@
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
+ - name: Lint
+ run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake