add validation
Some checks failed
update neo with compose files / validate (push) Failing after 4s
update neo with compose files / update (push) Has been skipped

This commit is contained in:
Didier Slof 2023-04-29 23:42:15 +02:00
parent 70876e5a3b
commit 4ac9781ce6

View file

@ -2,7 +2,23 @@ name: update neo with compose files
run-name: update on ${{ github.sha }}
on: [push]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: install docker-compose
run: |
apt update -y
apt install docker-compose
- name: check docker-compose
run: |
cd ${{ github.workspace }}
DC_ARGS=""
for $f in docker-compose.*.yml; do
DC_ARGS="-f $f"
done
docker-compose $DC_ARGS config
update:
needs: [validate]
runs-on: ubuntu-latest
steps:
- name: setup ssh