File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,28 @@ jobs:
119119 env :
120120 SHELLCHECK_OPTS : --exclude=SC2086 --exclude=SC2046 --exclude=SC2004 --exclude=SC2129
121121
122+ uv-lock-check :
123+ if : |
124+ needs.files-changed.outputs.uv_files == 'true' ||
125+ needs.files-changed.outputs.github_workflows == 'true'
126+ needs :
127+ - files-changed
128+ - prepare-environment
129+ runs-on : " ubuntu-latest"
130+ timeout-minutes : 5
131+ steps :
132+ - name : " Check out repository code"
133+ uses : " actions/checkout@v5"
134+ - name : " Set up Python"
135+ uses : " actions/setup-python@v6"
136+ with :
137+ python-version : " 3.12"
138+ - name : " Install uv"
139+ uses : astral-sh/setup-uv@v7
140+ with :
141+ version : ${{ needs.prepare-environment.outputs.UV_VERSION }}
142+ - name : " Validate pyproject.toml and consistency with uv.lock"
143+ run : uv lock --locked --offline
122144
123145 documentation :
124146 defaults :
You can’t perform that action at this time.
0 commit comments