Ensure liveness and readiness probes are written ASAP, and also ensur… #266
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
--- | |
on: push | |
permissions: | |
contents: read | |
jobs: | |
code-inspection: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up python | |
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install .[code-inspection] | |
- name: Run pylint | |
run: pylint file_watcher file_watcher_operator/file_watcher_operator.py | |
- name: Run MyPy | |
run: mypy --strict file_watcher file_watcher_operator |