mirror of
https://github.com/actions/setup-java
synced 2024-11-09 23:22:40 +00:00
Merge branch 'master' of https://github.com/actions/setup-java into konradpabjan/ncc
This commit is contained in:
commit
081536e071
2 changed files with 19 additions and 0 deletions
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 a new issue