Skip to content

Commit 081536e

Browse files
committed
Merge branch 'master' of https://github.com/actions/setup-java into konradpabjan/ncc
2 parents e8e47f4 + aba9954 commit 081536e

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/lint-yaml.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Lint YAML
2+
on: [pull_request]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: Lint action.yml
9+
uses: ibiqlik/action-yamllint@master
10+
with:
11+
file_or_dir: action.yml
12+
config_file: yaml-lint-config.yml

yaml-lint-config.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extends: default
2+
3+
rules:
4+
# 80 chars should be enough, but don't fail if a line is longer
5+
line-length:
6+
max: 80
7+
level: warning

0 commit comments

Comments
 (0)