ci: script and workflow to update starter projects (#5195)
This commit is contained in:
parent
9ead14896a
commit
ba31d436c4
23 changed files with 1315 additions and 2077 deletions
22
.github/workflows/py_autofix.yml
vendored
22
.github/workflows/py_autofix.yml
vendored
|
|
@ -19,3 +19,25 @@ jobs:
|
|||
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
|
||||
- name: Minimize uv cache
|
||||
run: uv cache prune --ci
|
||||
|
||||
update-starter-projects:
|
||||
name: Update Starter Projects
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
uv sync --frozen
|
||||
uv pip install -e .
|
||||
|
||||
- name: Run starter projects update
|
||||
run: uv run python scripts/ci/update_starter_projects.py
|
||||
|
||||
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
|
||||
|
||||
- name: Minimize uv cache
|
||||
run: uv cache prune --ci
|
||||
|
||||
|
|
|
|||
4
.github/workflows/style-check-py.yml
vendored
4
.github/workflows/style-check-py.yml
vendored
|
|
@ -6,10 +6,6 @@ on:
|
|||
paths:
|
||||
- "**/*.py"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Ruff Style Check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue