Run data/wordlists.yml
linting tests separately from the specs.
#1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |