.github/workflows/coverage.yml in rack-simple_user_agent-0.6.0 vs .github/workflows/coverage.yml in rack-simple_user_agent-1.0.0
- old
+ new
@@ -1,18 +1,23 @@
name: Coverage
-on: [push]
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+
jobs:
- build:
+ coverage:
runs-on: ubuntu-latest
- name: CodeClimate report
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
- - uses: paambaati/codeclimate-action@v2.5.4
+ bundler-cache: true
+ - uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: 40cc6409f7d531fa06fe880b7d7e4bd81ff89efcaa4dee782e03fb8fb3cdb902
with:
coverageCommand: bundle exec rake