.github/workflows/ruby.yml in ronin-code-sql-2.0.0 vs .github/workflows/ruby.yml in ronin-code-sql-2.1.0
- old
+ new
@@ -24,5 +24,19 @@
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake test
+
+ # rubocop linting
+ rubocop:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 3.0
+ - name: Install dependencies
+ run: bundle install --jobs 4 --retry 3
+ - name: Run rubocop
+ run: bundle exec rubocop --parallel