.github/workflows/rubocop.yml in rack-simple_user_agent-0.6.0 vs .github/workflows/rubocop.yml in rack-simple_user_agent-1.0.0
- old
+ new
@@ -1,14 +1,15 @@
name: RuboCop
+
on: [pull_request]
+
jobs:
- build:
+ rubocop:
runs-on: ubuntu-latest
- name: rubocop
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- - run: bundle install
+ bundler-cache: true
- run: bundle exec rubocop