-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 1 KB
/
python-ci.yml
File metadata and controls
47 lines (38 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Python Poetry CI
permissions:
contents: read
on:
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
black:
uses: prosegrinder/.github/.github/workflows/poetry-black.yaml@main
pylint:
uses: prosegrinder/.github/.github/workflows/poetry-pylint.yaml@main
mypy:
uses: prosegrinder/.github/.github/workflows/poetry-mypy.yaml@main
bandit:
uses: prosegrinder/.github/.github/workflows/poetry-bandit.yaml@main
test:
needs:
- pylint
- black
- mypy
- bandit
uses: prosegrinder/.github/.github/workflows/poetry-test.yaml@main
cz-dry-run:
needs: test
name: "Dry run Commitizen bump"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@0.26.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_consistency: true
dry_run: true