.github/workflows/ci.yml in riemann-client-1.0.0 vs .github/workflows/ci.yml in riemann-client-1.0.1
- old
+ new
@@ -8,14 +8,27 @@
pull_request:
branches:
- main
jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '2.7'
+ bundler-cache: true
+ - name: Run rubocop
+ run: bundle exec rubocop
test:
+ needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
+ - 2.6
- 2.7
- 3.0
- 3.1
steps:
- uses: actions/checkout@v2