Unverified Commit fbe5033f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5224 from jbampton/lint-yaml

feat(CI): add a GitHub Action to lint the YAML
parents 8f8e8327 aa6fc8c3
...@@ -43,7 +43,7 @@ jobs: ...@@ -43,7 +43,7 @@ jobs:
# and modify them (or add more) to build your code if your project # and modify them (or add more) to build your code if your project
# uses a compiled language # uses a compiled language
#- run: | # - run: |
# make bootstrap # make bootstrap
# make release # make release
......
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
...@@ -21,4 +21,3 @@ jobs: ...@@ -21,4 +21,3 @@ jobs:
with: with:
name: artifacts name: artifacts
path: ./out/artifacts path: ./out/artifacts
--- ---
stages: stages:
- pretest - pretest
- test - test
pretest: pretest:
stage: pretest stage: pretest
image: registry.gitlab.com/dabroz/mruby:gcc47_0.1 image: registry.gitlab.com/dabroz/mruby:gcc47_0.1
......
---
extends: default
rules:
document-start: disable
line-length: disable
truthy: false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment