File tree Expand file tree Collapse file tree 2 files changed +7
-33
lines changed Expand file tree Collapse file tree 2 files changed +7
-33
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : CI
23
34on :
4- push :
5- branches : [main]
65 pull_request :
7- workflow_dispatch :
6+ branches :
7+ - main
8+ release :
9+ types : [published] # Trigger when a release is published
810
911concurrency :
1012 group : ${{ github.workflow }}-${{ github.ref_name }}-${{
1719 IMAGE_NAME : ${{ github.repository }}
1820
1921jobs :
20- determine_changes :
21- name : " Determine changes"
22- runs-on : ubuntu-latest
23- outputs :
24- # Flag that is raised when any code is changed
25- code : ${{ steps.changed.outputs.code_any_changed }}
26- steps :
27- - uses : actions/checkout@v4
28- with :
29- fetch-depth : 0
30-
31- - uses : tj-actions/changed-files@v45
32- id : changed
33- with :
34- files_yaml : |
35- code:
36- - "**/*"
37- - "!docs/**/*"
38- - "!mkdocs.*.yml"
39- - "!**/*.md"
40- - "!bin/**"
41- - "!assets/**"
42- - "!dist/**"
43- # Generated markdown and JSON files are checked during test runs
44- - "docs/reference/cli.md"
45- - "docs/reference/settings.md"
46- - "docs/configuration/environment.md"
47- - "uv.schema.json"
4822 lint :
4923 timeout-minutes : 10
5024 name : " lint"
6842 run : uvx ruff check .
6943
7044 - name : " Validate project metadata"
71- run : uvx --from 'validate-pyproject[all,store]' validate-pyproject
72- pyproject.toml
45+ run : uvx --from 'validate-pyproject[all,store]' validate-pyproject pyproject.toml
7346
7447 build-and-publish :
7548 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ ---
12name : Upload Python Package
23
34on :
You can’t perform that action at this time.
0 commit comments