CI: convert galaxy version check to pre-commit + autodetect

This commit is contained in:
Max Gautier
2025-03-17 18:02:58 +01:00
parent 0c59cc84dd
commit c79b3ce46b
5 changed files with 57 additions and 23 deletions

View File

@@ -70,6 +70,14 @@ repos:
- pathlib
- pyaml
- id: check-galaxy-version
name: Verify correct version for galaxy.yml
entry: scripts/galaxy_version.py
language: python
pass_filenames: false
additional_dependencies:
- ruamel.yaml
- id: jinja-syntax-check
name: jinja-syntax-check
entry: tests/scripts/check-templates.py