From 748922215ae55170d985f9e87230c80baa19f88a Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 28 Dec 2022 22:32:08 -0600 Subject: [PATCH] Create validate-cfg.yml --- .github/workflows/validate-cfg.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/validate-cfg.yml diff --git a/.github/workflows/validate-cfg.yml b/.github/workflows/validate-cfg.yml new file mode 100644 index 0000000..047fe2c --- /dev/null +++ b/.github/workflows/validate-cfg.yml @@ -0,0 +1,27 @@ +# 1.1.1.0 +# created: 08 May 2022 +# updated: 01 Oct 2022 +# update checkout to v3.0.2 +# Checks .cfg files for syntax errors +# https://github.com/KSP-CKAN/KSPMMCfgParser + +name: Config file validation +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: +jobs: + validate: + name: Validate cfg files + runs-on: ubuntu-latest + steps: + - name: Checkout repo + # uses: actions/checkout@lastest + uses: actions/checkout@v3.0.2 + with: + fetch-depth: 1 + - name: Validate config files + uses: KSP-CKAN/KSPMMCfgParser@master \ No newline at end of file