This repository was archived by the owner on Aug 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (69 loc) · 1.83 KB
/
ci.yaml
File metadata and controls
71 lines (69 loc) · 1.83 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: CI
on:
pull_request:
workflow_call:
workflow_dispatch:
push:
branches:
- main
schedule:
# Run every Monday at 00:30 UTC
- cron: "30 0 * * 1"
permissions:
contents: read
jobs:
mise-cache:
uses: nikobockerman/github-workflows/.github/workflows/mise-prepare-cache.yaml@b262c8d171b1e5e4c65f6b469dbeb580f422080b
uv-cache:
needs: mise-cache
uses: ./.github/workflows/mise-uv-prepare-cache.yaml
check-mypy:
needs: uv-cache
uses: ./.github/workflows/mise-uv-task.yaml
with:
task: check:mypy
check-prettier:
needs: mise-cache
uses: nikobockerman/github-workflows/.github/workflows/mise-task.yaml@b262c8d171b1e5e4c65f6b469dbeb580f422080b
with:
task: check:prettier
check-pyright:
needs: uv-cache
uses: ./.github/workflows/mise-uv-task.yaml
with:
task: check:pyright
check-renovate-config:
needs: mise-cache
uses: nikobockerman/github-workflows/.github/workflows/mise-task.yaml@b262c8d171b1e5e4c65f6b469dbeb580f422080b
with:
task: check:renovateconfig
check-ruff:
needs: mise-cache
uses: nikobockerman/github-workflows/.github/workflows/mise-task.yaml@b262c8d171b1e5e4c65f6b469dbeb580f422080b
with:
task: "check:ruff ::: check:ruff::format"
test-pytest:
needs: uv-cache
uses: ./.github/workflows/mise-uv-task.yaml
with:
task: check:pytest
run-all:
needs: uv-cache
uses: ./.github/workflows/mise-uv-task.yaml
with:
task: runall
check:
needs:
- check-mypy
- check-prettier
- check-pyright
- check-renovate-config
- check-ruff
- test-pytest
- run-all
if: always()
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}