44 workflow_call :
55
66jobs :
7-
87 Version-Check :
98 name : Version
109 runs-on : ubuntu-24.04
11-
10+ permissions :
11+ contents : read
1212 steps :
1313 - name : SCM Checkout
1414 uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
1717
1818 - name : Setup Python & Poetry Environment
19- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
19+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
2020
2121 - name : Check Version(s)
22+ run : poetry run -- nox -s version:check
23+
24+ Documentation :
25+ name : Docs
26+ needs : [ Version-Check ]
27+ runs-on : ubuntu-24.04
28+ permissions :
29+ contents : read
30+ steps :
31+ - name : SCM Checkout
32+ uses : actions/checkout@v4
33+
34+ - name : Setup Python & Poetry Environment
35+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
36+
37+ - name : Build Documentation
2238 run : |
23- poetry run -- nox -s version:check
39+ poetry run -- nox -s docs:build
2440
2541 build-matrix :
2642 name : Generate Build Matrix
2743 uses : ./.github/workflows/matrix-python.yml
44+ permissions :
45+ contents : read
2846
2947 Changelog :
3048 name : Changelog Update Check
3149 runs-on : ubuntu-24.04
50+ permissions :
51+ contents : read
3252 if : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
33-
3453 steps :
3554 - name : SCM Checkout
3655 uses : actions/checkout@v4
3756
3857 - name : Setup Python & Poetry Environment
39- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
58+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
4059
4160 - name : Run changelog update check
4261 run : poetry run -- nox -s changelog:updated
@@ -45,24 +64,25 @@ jobs:
4564 name : Linting (Python-${{ matrix.python-version }})
4665 needs : [ Version-Check, build-matrix ]
4766 runs-on : ubuntu-24.04
67+ permissions :
68+ contents : read
4869 strategy :
4970 fail-fast : false
5071 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
51-
5272 steps :
5373 - name : SCM Checkout
5474 uses : actions/checkout@v4
5575
5676 - name : Setup Python & Poetry Environment
57- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
77+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
5878 with :
5979 python-version : ${{ matrix.python-version }}
6080
6181 - name : Run lint
6282 run : poetry run -- nox -s lint:code
6383
6484 - name : Upload Artifacts
65- uses : actions/upload-artifact@v4.6.0
85+ uses : actions/upload-artifact@v4.6.2
6686 with :
6787 name : lint-python${{ matrix.python-version }}
6888 path : |
7494 name : Type Checking (Python-${{ matrix.python-version }})
7595 needs : [ Version-Check, build-matrix ]
7696 runs-on : ubuntu-24.04
97+ permissions :
98+ contents : read
7799 strategy :
78100 fail-fast : false
79101 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
83105 uses : actions/checkout@v4
84106
85107 - name : Setup Python & Poetry Environment
86- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
108+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
87109 with :
88110 python-version : ${{ matrix.python-version }}
89111
94116 name : Security Checks (Python-${{ matrix.python-version }})
95117 needs : [ Version-Check, build-matrix ]
96118 runs-on : ubuntu-24.04
119+ permissions :
120+ contents : read
97121 strategy :
98122 fail-fast : false
99123 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -103,15 +127,15 @@ jobs:
103127 uses : actions/checkout@v4
104128
105129 - name : Setup Python & Poetry Environment
106- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
130+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
107131 with :
108132 python-version : ${{ matrix.python-version }}
109133
110134 - name : Run security linter
111135 run : poetry run -- nox -s lint:security
112136
113137 - name : Upload Artifacts
114- uses : actions/upload-artifact@v4.6.0
138+ uses : actions/upload-artifact@v4.6.2
115139 with :
116140 name : security-python${{ matrix.python-version }}
117141 path : .security.json
@@ -120,21 +144,24 @@ jobs:
120144 Format :
121145 name : Format Check
122146 runs-on : ubuntu-24.04
123-
147+ permissions :
148+ contents : read
124149 steps :
125150 - name : SCM Checkout
126151 uses : actions/checkout@v4
127152
128153 - name : Setup Python & Poetry Environment
129- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
154+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
130155
131156 - name : Run format check
132157 run : poetry run -- nox -s project:format
133158
134159 Tests :
135160 name : Unit-Tests (Python-${{ matrix.python-version }})
136- needs : [ Lint, Type-Check, Security, Format, build-matrix ]
161+ needs : [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
137162 runs-on : ubuntu-24.04
163+ permissions :
164+ contents : read
138165 env :
139166 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140167 strategy :
@@ -146,15 +173,15 @@ jobs:
146173 uses : actions/checkout@v4
147174
148175 - name : Setup Python & Poetry Environment
149- uses : exasol/python-toolbox/.github/actions/python-environment@1.0.1
176+ uses : exasol/python-toolbox/.github/actions/python-environment@1.4.0
150177 with :
151178 python-version : ${{ matrix.python-version }}
152179
153180 - name : Run Tests and Collect Coverage
154181 run : poetry run -- nox -s test:unit -- --coverage
155182
156183 - name : Upload Artifacts
157- uses : actions/upload-artifact@v4.6.0
184+ uses : actions/upload-artifact@v4.6.2
158185 with :
159186 name : coverage-python${{ matrix.python-version }}-fast
160187 path : .coverage
0 commit comments