added docker compose linter workflow

This commit is contained in:
Seaswimmer 2023-10-21 11:50:27 -04:00
parent c7626ffcac
commit 9fe7751121
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -0,0 +1,17 @@
name: Docker Compose Linter
on: [push] # yamllint disable-line rule:truthy
jobs:
Docker Compose Linter:
runs-on: docker
steps:
- uses: actions/checkout@v3
- name: Lint YAML
uses: actions/yamllint
- run: echo ${{ steps.yaml-lint.outputs.logfile }}
- uses: actions/upload-artifact@v2
if: always()
with:
name: yamllint-logfile
path: ${{ steps.yaml-lint.outputs.logfile }}