Merge pull request #5572 from normanjaeckel/modelsToYML

Models to yml
This commit is contained in:
Norman Jäckel 2020-09-29 22:49:03 +02:00 committed by GitHub
commit e9fd1f108b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1696 additions and 0 deletions

30
.github/workflows/models.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Validate models.yml
on: [push, pull_request]
jobs:
validate:
name: Validate models.yml
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v1
with:
go-version: 1.15
- name: Install validator
run: go get github.com/OpenSlides/openslides-modelsvalidate/cmd/modelsvalidate
- name: Check out code
uses: actions/checkout@v2
- name: Validate models.yml
run: $HOME/go/bin/modelsvalidate docs/models.yml
check-old:
name: Check old models.txt
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Check MD5 hash of old models.txt
run: echo "4dee769da047e0169b5fe1280f3ea2f0 docs/models.txt" | md5sum --check

1666
docs/models.yml Normal file

File diff suppressed because it is too large Load Diff