mirror of
https://github.com/actions/setup-java.git
synced 2024-11-13 21:48:05 +00:00
Merge branch 'master' of https://github.com/actions/setup-java into konradpabjan/ncc
This commit is contained in:
commit
081536e071
12
.github/workflows/lint-yaml.yml
vendored
Normal file
12
.github/workflows/lint-yaml.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: Lint YAML
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Lint action.yml
|
||||||
|
uses: ibiqlik/action-yamllint@master
|
||||||
|
with:
|
||||||
|
file_or_dir: action.yml
|
||||||
|
config_file: yaml-lint-config.yml
|
7
yaml-lint-config.yml
Normal file
7
yaml-lint-config.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
# 80 chars should be enough, but don't fail if a line is longer
|
||||||
|
line-length:
|
||||||
|
max: 80
|
||||||
|
level: warning
|
Loading…
Reference in New Issue
Block a user