Skip to content

Run data/wordlists.yml linting tests separately from the specs. #1

Run data/wordlists.yml linting tests separately from the specs.

Run data/wordlists.yml linting tests separately from the specs. #1

name: wordlists.yml linting
on:
push:
paths:
- data/wordlists.yml
- spec/wordlists_yml_lint.rb
pull_request:
paths:
- data/wordlists.yml
- spec/wordlists_yml_lint.rb
jobs:
# data/wordlists.yml linting
lint:
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: Run data/wordlists.yml linting
run: 'bundle exec rake spec:lint'