0.12.0 release #33
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 analysis | |
on: ["push", "pull_request"] | |
permissions: | |
actions: read | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- run: pip install --upgrade pip isort black | |
- name: Check import order | |
run: isort --profile black --line-length 80 --check certomancer tests | |
- name: Run Black | |
run: black -S --line-length 80 --check certomancer tests | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: jpetrucciani/[email protected] | |
with: | |
path: certomancer | |
requirements: "-e .[mypy] --config-settings editable_mode=strict" |