DockerCompose/.forgejo/workflows/lint.yaml
SeaswimmerTheFsh 078eebdd9f
Some checks failed
Docker Compose Linter / Docker Compose Linter (push) Failing after 0s
added step to install the linter
2023-10-21 11:57:23 -04:00

24 lines
584 B
YAML

name: Docker Compose Linter
on: [push]
jobs:
Docker Compose Linter:
runs-on: docker
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Linter
runs: sudo apt-get install yamllint
- name: Lint YAML
uses: actions/yamllint@v3
- name: Save logs to file
run: echo ${{ steps.yaml-lint.outputs.logfile }}
- name: Upload logs
uses: actions/upload-artifact@v2
if: always()
with:
name: linter-logfile
path: ${{ steps.yaml-lint.outputs.logfile }}