Skip to content

KS: set senate to 2012 #143

KS: set senate to 2012

KS: set senate to 2012 #143

Workflow file for this run

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 .