adds a test workflow for spec vers vs next tag version #5
Workflow file for this run
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: Check Version Consistency and Git Tag Match | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-versions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' # specify the Python version you want to use | |
- name: Install dependencies | |
run: pip install pyyaml semver | |
- name: Parse and check versions | |
run: python .github/workflows/check_versions.py |