Skip to content

Commit

Permalink
Create validate-cfg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0Kerbal committed Dec 29, 2022
1 parent 39cefa8 commit 7489222
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/validate-cfg.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7489222

Please sign in to comment.