don't allow subsets of jurisdictions, might break things in bad ways #140
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: Lint Files | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: install Poetry | |
uses: snok/[email protected] | |
- name: install dependencies | |
run: poetry install | |
- name: flake8 check | |
run: poetry run flake8 . | |
- name: black check | |
run: poetry run black --check --diff . | |
- name: Yaml file linting | |
run: | | |
docker run --rm \ | |
-v $(pwd):/code \ | |
registry.gitlab.com/pipeline-components/yamllint:latest -s . |