Skip to content

Add a separate rake task and GitHub Action to lint exploit metadata. #1

Add a separate rake task and GitHub Action to lint exploit metadata.

Add a separate rake task and GitHub Action to lint exploit metadata. #1

Workflow file for this run

name: Lint exploits
on:
push:
paths:
- exploits/{**/}*.rb
- lint/exploits_spec.rb
pull_request:
paths:
- exploits/{**/}*.rb
- lint/exploits_spec.rb
jobs:
# exploits linting
exploits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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: Lint exploits
run: 'bundle exec rake lint:exploits'