chore(deps): bump docker/actions-toolkit from 19ca9ade20f5da695f76a10988d6532058575f82 to bdd1a426f51b7ba612080117a39aab7d206f8c79 #3011
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: black and flake8 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Lint and flake8 client | |
working-directory: client/ | |
run: | | |
poetry install | |
poetry run black . --check | |
poetry run flake8 --config ../setup.cfg | |
- name: Lint and flake8 operator | |
working-directory: operator/ | |
run: | | |
poetry install | |
poetry run black . --check | |
poetry run flake8 --config ../setup.cfg |