Skip to content

Add yaml linting to CI, update all yaml files to respect rules #6

Add yaml linting to CI, update all yaml files to respect rules

Add yaml linting to CI, update all yaml files to respect rules #6

name: "Docker Compose CI"
"on": # 'on' is a truthy value normally, quotes are needed
push:
branches:
- "master"
pull_request:
branches:
- "master"
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Install 'yamllint'"
run: "sudo apt-get install -y yamllint"
- name: "Lint YAML files"
run: "yamllint -c .github/yamllint_config.yaml ."
- name: "Test docker-compose.yaml"
run: "docker compose up --wait --wait-timeout 300"