.github/workflows/ruby.yml in ronin-vulns-0.1.1 vs .github/workflows/ruby.yml in ronin-vulns-0.1.2
- old
+ new
@@ -28,5 +28,19 @@
sudo apt install -y --no-install-recommends --no-install-suggests libsqlite3-dev
- 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