Add a Lookup Plugin to get the Checkmk Version of a Server #1349
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: Python QA | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 3 * * *' | |
push: | |
paths: | |
- '**.py' | |
pull_request: | |
paths: | |
- '**.py' | |
jobs: | |
run-qa: | |
name: Run QA | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: pip | |
cache-dependency-path: requirements-qa.txt | |
- name: Install linters | |
run: python -m pip install -r requirements-qa.txt | |
- name: Check format | |
run: black --check --diff plugins | |
if: always() | |
- name: Check imports | |
run: isort --check --diff plugins | |
if: always() |