ci: script and workflow to update starter projects (#5195)

This commit is contained in:
Jordan Frazier 2024-12-11 18:48:55 -08:00 committed by GitHub
commit ba31d436c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 1315 additions and 2077 deletions

View file

@ -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

View file

@ -6,10 +6,6 @@ on:
paths:
- "**/*.py"
jobs:
lint:
name: Ruff Style Check