-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (39 loc) · 907 Bytes
/
ci.yml
File metadata and controls
45 lines (39 loc) · 907 Bytes
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
---
name: CI
on:
workflow_call:
jobs:
get-changed-files:
name: Get Changed Files
uses: ./.github/workflows/get-changed-files.yml
permissions:
contents: read
pull-requests: read # for dorny/paths-filter to read pull requests
pre-commit:
name: Pre-Commit
needs:
- get-changed-files
uses: ./.github/workflows/pre-commit-action.yml
with:
changed-files: ${{ needs.get-changed-files.outputs.changed-files }}
permissions:
contents: read
test:
name: Test
needs:
- pre-commit
uses: ./.github/workflows/test-action.yml
docs:
name: Docs
needs:
- pre-commit
uses: ./.github/workflows/docs-action.yml
permissions:
contents: read
build-python-package:
name: Python Package
needs:
- pre-commit
uses: ./.github/workflows/package-action.yml
permissions:
contents: read