added configuration to the linter
Some checks failed
Docker Compose Linter / Docker Compose Linter (push) Failing after 5s
Some checks failed
Docker Compose Linter / Docker Compose Linter (push) Failing after 5s
This commit is contained in:
parent
794d64ea93
commit
6aa87f5bf5
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
name: Docker Compose Linter
|
name: Docker Compose Linter
|
||||||
on: [push]
|
on: [push] # yamllint disable-line rule:truthy
|
||||||
jobs:
|
jobs:
|
||||||
Docker Compose Linter:
|
Docker Compose Linter:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -14,6 +14,13 @@ jobs:
|
||||||
- name: Lint YAML
|
- name: Lint YAML
|
||||||
id: yaml-lint
|
id: yaml-lint
|
||||||
uses: actions/yamllint@v3
|
uses: actions/yamllint@v3
|
||||||
|
with:
|
||||||
|
strict: true
|
||||||
|
config_data: |
|
||||||
|
extends: default
|
||||||
|
rules:
|
||||||
|
document-start: disable
|
||||||
|
line-length: disable
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in a new issue