diff --git a/.github/workflows/validate-rgas.yml b/.github/workflows/validate-rgas.yml new file mode 100644 index 00000000000..28684428fec --- /dev/null +++ b/.github/workflows/validate-rgas.yml @@ -0,0 +1,18 @@ +name: YAML schema validator +on: [push] + +jobs: + yaml-schema-validation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Submodule + run: git submodule update --init + - name: Pull engine updates + uses: space-wizards/submodule-dependency@v0.1.5 + - uses: PaulRitter/yaml-schema-validator@v1 + with: + schema: RobustToolbox/Schemas/rga.yml + path_pattern: .*attributions.ya?ml$ + validators_path: RobustToolbox/Schemas/rga_validators.py + validators_requirements: RobustToolbox/Schemas/rga_requirements.txt \ No newline at end of file diff --git a/.github/workflows/validate-rsis.yml b/.github/workflows/validate-rsis.yml index 56431e456cc..3647545f950 100644 --- a/.github/workflows/validate-rsis.yml +++ b/.github/workflows/validate-rsis.yml @@ -10,9 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Setup Submodule + run: git submodule update --init + - name: Pull engine updates + uses: space-wizards/submodule-dependency@v0.1.5 - name: Parse files uses: space-wizards/json-schema-validator@v1.0.2 with: token: ${{ secrets.GITHUB_TOKEN }} - json_schema: .github/rsi-schema.json + json_schema: RobustToolbox/Schemas/rsi.json json_path_pattern: .*meta.json$ diff --git a/.github/workflows/validate_mapfiles.yml b/.github/workflows/validate_mapfiles.yml new file mode 100644 index 00000000000..5dcde52e333 --- /dev/null +++ b/.github/workflows/validate_mapfiles.yml @@ -0,0 +1,18 @@ +name: YAML schema validator +on: [push] + +jobs: + yaml-schema-validation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Submodule + run: git submodule update --init + - name: Pull engine updates + uses: space-wizards/submodule-dependency@v0.1.5 + - uses: PaulRitter/yaml-schema-validator@v1 + with: + schema: RobustToolbox/Schemas/mapfile.yml + path_pattern: .*Resources/Maps/.* + validators_path: RobustToolbox/Schemas/mapfile_validators.py + validators_requirements: RobustToolbox/Schemas/mapfile_requirements.txt \ No newline at end of file diff --git a/Resources/Audio/Weapons/Guns/Gunshots/Magic/attributions.yml b/Resources/Audio/Weapons/Guns/Gunshots/Magic/attributions.yml index aa1641dc7a0..c25a5ed4849 100644 --- a/Resources/Audio/Weapons/Guns/Gunshots/Magic/attributions.yml +++ b/Resources/Audio/Weapons/Guns/Gunshots/Magic/attributions.yml @@ -3,4 +3,5 @@ - files: [ "staff_animation.ogg", "staff_change.ogg", "staff_chaos.ogg", "staff_door.ogg", "staff_healing.ogg" ] license: "CC-BY-SA-3.0" - copyright: "https://github.com/tgstation/tgstation/commit/906fb0682bab6a0975b45036001c54f021f58ae7" \ No newline at end of file + copyright: "https://github.com/tgstation/tgstation/commit/906fb0682bab6a0975b45036001c54f021f58ae7" + source: "https://github.com/tgstation/tgstation/commit/906fb0682bab6a0975b45036001c54f021f58ae7" \ No newline at end of file