Implement event consumer for loading and deletion (GSI 281) (#12) #58
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: Static Code Analysis | |
on: push | |
jobs: | |
static-code-analysis: | |
runs-on: ubuntu-latest | |
name: Static Code Analysis | |
steps: | |
- uses: actions/checkout@v3 | |
- id: common | |
uses: ghga-de/gh-action-common@v2 | |
- uses: pre-commit/[email protected] | |
env: | |
SKIP: no-commit-to-branch | |
- name: black | |
run: | | |
black --check . | |
- name: isort | |
run: | | |
isort --check --profile black . | |
- name: mypy | |
run: | | |
mypy . | |
- name: pylint | |
run: | | |
pylint "${{ steps.common.outputs.MAIN_SRC_DIR }}" | |
- name: flake8 | |
run: | | |
flake8 --config .flake8 | |
- name: bandit | |
run: | | |
bandit -r "${{ steps.common.outputs.MAIN_SRC_DIR }}" | |
- name: Check license header and file | |
run: | | |
./scripts/license_checker.py |