Update to Python 3.12, use uv dep declaration in hook_manifest_add.py… #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update hook manifest | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'automation/hook_manifest_update.py' | |
- 'automation/requirements.txt' | |
- 'store/encodings/*' | |
- 'store/fonts/*' | |
- 'metadata/hook.json' | |
- '.github/workflows/update-hook-manifest.yml' | |
jobs: | |
hook: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Run update script | |
run: python3 automation/hook_manifest_update.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
author_name: github-actions[bot] | |
author_email: 41898282+github-actions[bot]@users.noreply.github.com | |
message: "Update hook manifest" |