File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2026 William Jin <AuraMindNest@outlook.com>
2+ #
3+ # SPDX-License-Identifier: BSL-1.0
4+ #
5+ # Dependabot version updates (opens PRs). Also enable in the repo UI:
6+ # Settings → Code security → Dependabot alerts / Dependabot security updates.
7+ # https://docs.astral.sh/uv/guides/integration/dependabot/
8+
9+ version : 2
10+
11+ updates :
12+ # pyproject.toml + uv.lock (this project uses uv, not requirements.txt).
13+ - package-ecosystem : uv
14+ directory : /
15+ schedule :
16+ interval : weekly
17+ day : monday
18+ time : 09:00
19+ timezone : Etc/UTC
20+ open-pull-requests-limit : 10
21+ labels :
22+ - dependencies
23+ - python
24+ # Note: dependency-type-based groups are not supported for uv yet
25+ # (see dependabot/dependabot-core#13202). Group by semver bump size instead.
26+ groups :
27+ uv-patch-minor :
28+ update-types :
29+ - patch
30+ - minor
31+ uv-major :
32+ update-types :
33+ - major
34+
35+ # Pinned third-party actions under .github/workflows/
36+ - package-ecosystem : github-actions
37+ directory : /
38+ schedule :
39+ interval : weekly
40+ day : monday
41+ time : 09:00
42+ timezone : Etc/UTC
43+ open-pull-requests-limit : 5
44+ labels :
45+ - dependencies
46+ - github-actions
47+ groups :
48+ actions :
49+ patterns :
50+ - ' *'
51+
52+ # Hook repos + revs in .pre-commit-config.yaml
53+ - package-ecosystem : pre-commit
54+ directory : /
55+ schedule :
56+ interval : weekly
57+ day : monday
58+ time : 09:00
59+ timezone : Etc/UTC
60+ open-pull-requests-limit : 5
61+ labels :
62+ - dependencies
63+ - pre-commit
64+ groups :
65+ pre-commit-hooks :
66+ patterns :
67+ - ' *'
File renamed without changes.
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2026 William Jin <AuraMindNest@outlook.com>
2+ #
3+ # SPDX-License-Identifier: BSL-1.0
4+
5+ name : Lint and format
6+
7+ on :
8+ pull_request :
9+ push :
10+ branches :
11+ - main
12+ - develop
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ lint-and-format :
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ # actions/checkout v6.0.2
23+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
24+ with :
25+ persist-credentials : false
26+ # actions/cache v5.0.5
27+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
28+ with :
29+ path : ~/.cache/prek
30+ key : ${{ runner.os }}-${{ runner.arch }}-prek-${{ hashFiles('.pre-commit-config.yaml') }}
31+ restore-keys : |
32+ ${{ runner.os }}-${{ runner.arch }}-prek-
33+ # actions/setup-python v6.2.0
34+ - name : Setup Python
35+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
36+ with :
37+ python-version : ' 3.14'
38+ # astral-sh/setup-uv v8.1.0
39+ - uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
40+ with :
41+ version : 0.11.12
42+ - name : Install apt dependencies (Weblate venv)
43+ run : sudo ./.github/ci/apt-install
44+ - name : pre-commit
45+ run : |
46+ uv run --only-group pre-commit prek run --all-files --show-diff-on-failure
47+ uv run --only-group pre-commit prek cache gc
48+ env :
49+ RUFF_OUTPUT_FORMAT : github
50+ REUSE_OUTPUT_FORMAT : github
File renamed without changes.
Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: BSL-1.0
44
5- name : Lint and format
5+ name : Tests and coverage
66
77on :
88 push :
@@ -12,40 +12,6 @@ permissions:
1212 contents : read
1313
1414jobs :
15- lint-and-format :
16- runs-on : ubuntu-latest
17-
18- steps :
19- # actions/checkout v6.0.2
20- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
21- with :
22- persist-credentials : false
23- # actions/cache v5.0.5
24- - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae
25- with :
26- path : ~/.cache/prek
27- key : ${{ runner.os }}-${{ runner.arch }}-prek-${{ hashFiles('.pre-commit-config.yaml') }}
28- restore-keys : |
29- ${{ runner.os }}-${{ runner.arch }}-prek-
30- # actions/setup-python v6.2.0
31- - name : Setup Python
32- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
33- with :
34- python-version : ' 3.14'
35- # astral-sh/setup-uv v8.1.0
36- - uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
37- with :
38- version : 0.11.12
39- - name : Install apt dependencies (Weblate venv)
40- run : sudo ./.github/ci/apt-install
41- - name : pre-commit
42- run : |
43- uv run --only-group pre-commit prek run --all-files --show-diff-on-failure
44- uv run --only-group pre-commit prek cache gc
45- env :
46- RUFF_OUTPUT_FORMAT : github
47- REUSE_OUTPUT_FORMAT : github
48-
4915 test-coverage :
5016 name : Tests and coverage
5117 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments