.github/workflows/ci.yml in slack-ruby-block-kit-0.21.0 vs .github/workflows/ci.yml in slack-ruby-block-kit-0.22.0
- old
+ new
@@ -4,13 +4,10 @@
push:
branches: [ master ]
pull_request:
branches: [ master ]
-env:
- DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
-
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
@@ -22,13 +19,9 @@
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- - run: curl https://deepsource.io/cli | sh
- run: gem install bundler:2.1.4
- run: bundle install
- - run: bundle exec rubocop
- run: bundle exec rspec --format progress
- - run: ./bin/deepsource report --analyzer test-coverage --key ruby --value-file ./coverage/.resultset.json
- # don't run on forks which don't have access to DEEPSOURCE_DSN
- if: (env.DEEPSOURCE_DSN != '') && (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
+ - run: bundle exec rubocop