Skip to content

Update actions/checkout action to v4.2.2 #55

Update actions/checkout action to v4.2.2

Update actions/checkout action to v4.2.2 #55

name: validate compose
on:
pull_request:
paths:
- 'docker-compose.yml'
- '.github/workflows/validate-compose.yml'
jobs:
validate-compose:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
- name: validate
shell: bash
run: |
shopt -s globstar
set -eux
for f in **/docker-compose.yml; do
if ! docker compose --file "$f" config --quiet; then
exit 1
fi
done
exit 0