move version checks out into own check

This commit is contained in:
Matthias 2021-12-04 01:22:10 +01:00
parent 6bc3e3ccbb
commit 3da5767e02
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 21 additions and 2 deletions

View File

@ -44,9 +44,7 @@ jobs:
pep_style:
name: PEP style (python)
needs: check_version
runs-on: ubuntu-latest
if: always()
steps:
- name: Checkout code

21
.github/workflows/version.yml vendored Normal file
View File

@ -0,0 +1,21 @@
# Checks version number
name: version number
on:
pull_request:
branches-ignore:
- l10*
jobs:
check_version:
name: version number
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Check version number
run: |
python3 ci/check_version_number.py --branch ${{ github.base_ref }}