SeaswimmerTheFsh
ac06584097
Some checks reported warnings
Docker Compose Linter / Docker Compose Linter (push) Has been cancelled
26 lines
642 B
YAML
26 lines
642 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: 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 }}
|