GHSA SYNC: Add cvss_v3 field to 2 advisories #929
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 Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install yamllint | |
run: | | |
python -m pip install --upgrade pip | |
pip install yamllint | |
- name: Lint YAML files | |
run: yamllint gems rubies | |
- 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 |