GHSA Sync: 1 brand new advisory #698
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: ['**'] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Linter | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
- name: Install ruby dependencies | |
run: bundle install --jobs 4 --retry 3 | |
- name: Validate YAML | |
run: bundle exec rake lint | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install yamllint | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Lint YAML files | |
run: yamllint gems rubies |