DockerCompose/.forgejo/workflows/lint.yaml
SeaswimmerTheFsh 6aa87f5bf5
Some checks failed
Docker Compose Linter / Docker Compose Linter (push) Failing after 5s
added configuration to the linter
2023-10-21 13:27:36 -04:00

30 lines
765 B
YAML

name: Docker Compose Linter
on: [push] # yamllint disable-line rule:truthy
jobs:
Docker Compose Linter:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Linter
run: pip install yamllint
- name: Lint YAML
id: yaml-lint
uses: actions/yamllint@v3
with:
strict: true
config_data: |
extends: default
rules:
document-start: disable
line-length: disable
- name: Upload logs
uses: actions/upload-artifact@v3
if: always()
with:
name: logs.txt
path: ${{ steps.yaml-lint.outputs.logfile }}