DockerCompose/.forgejo/workflows/lint.yaml
SeaswimmerTheFsh 4816dd8929
Some checks failed
Docker Compose Linter / Docker Compose Linter (3.9) (push) Failing after 3s
changed python version to 3.9
2023-10-21 12:05:39 -04:00

33 lines
790 B
YAML

name: Docker Compose Linter
on: [push]
jobs:
Docker Compose Linter:
runs-on: docker
strategy:
matrix:
python-version: ["3.9"]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Linter
run: pip install yamllint
- name: Lint YAML
id: yaml-lint
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 }}