summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2020-12-15 22:46:26 +1000
committerJohn Bampton <[email protected]>2020-12-15 23:39:36 +1000
commitaa6fc8c38e5b3ab5dd30c08ee6e88a0936b465b1 (patch)
tree7a9bddb0301235a8adf98516247885ef6b50e148 /.github/workflows/lint.yml
parentc1c8c25e70a54e6a82ab8cea05c115b94eb3d5ab (diff)
downloadmruby-aa6fc8c38e5b3ab5dd30c08ee6e88a0936b465b1.tar.gz
mruby-aa6fc8c38e5b3ab5dd30c08ee6e88a0936b465b1.zip
feat(CI): add a GitHub Action to lint the YAML
- Run only on pull request - Add a `.yamllint` config file - Lint YAML
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 000000000..e04d0fc75
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,12 @@
+name: ❄️ Lint
+
+on: [pull_request]
+
+jobs:
+ yamllint:
+ name: 🍶 YAML
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: 🧹 YAML Lint
+ uses: ibiqlik/action-yamllint@v3