mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-22 06:11:00 -05:00
27 lines
594 B
YAML
27 lines
594 B
YAML
|
name: Test Action
|
||
|
on: pull_request
|
||
|
jobs:
|
||
|
lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: lint with config
|
||
|
uses: ./
|
||
|
with:
|
||
|
file_or_dir: test
|
||
|
config_data: |
|
||
|
extends: default
|
||
|
ignore: nok.yaml
|
||
|
rules:
|
||
|
new-line-at-end-of-file:
|
||
|
level: warning
|
||
|
trailing-spaces:
|
||
|
level: warning
|
||
|
|
||
|
- name: lint all (but pass)
|
||
|
continue-on-error: true
|
||
|
uses: ./
|
||
|
with:
|
||
|
file_or_dir: test
|
||
|
strict: true
|