.github/workflows/ruby.yml in runger_actions-0.19.2 vs .github/workflows/ruby.yml in runger_actions-0.20.0
- old
+ new
@@ -1,20 +1,23 @@
-name: Run Rspec Tests
+name: Run RuboCop and RSpec
on:
pull_request:
branches:
- - master
+ - '*'
+ push:
+ branches:
+ - main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- - name: Run Rubocop
+ - name: Run RuboCop
run: bin/rubocop --format clang
- name: Run RSpec tests
run: bin/rspec --format progress
- name: Ensure alpha version
run: grep alpha $(find . -type f -name version.rb)