DockerCompose/.forgejo/workflows/lint.yaml
SeaswimmerTheFsh 92a1b29429
Some checks failed
Docker Compose Linter / Docker Compose Linter (push) Failing after 4s
simplified action
2023-10-21 13:21:22 -04:00

23 lines
542 B
YAML

name: Docker Compose Linter
on: [push]
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
- name: Upload logs
uses: actions/upload-artifact@v3
if: always()
with:
name: logs
path: ${{ steps.yaml-lint.outputs.logfile }}