Install docker-compose before running it

some time recently github actions runners seem to have changed to no
longer provide docker-compose by default. install it.
This commit is contained in:
Dirk Mueller 2024-08-06 10:04:28 +02:00
parent 9d60e6243f
commit 5b7af6d7be
No known key found for this signature in database

View File

@ -24,6 +24,11 @@ jobs:
- name: Setup path
run: sed -i -e "s,../..:,$PWD:," dist/ci/docker-compose.yml
- name: install docker-compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Run tests
run: docker-compose -f dist/ci/docker-compose.yml run test
env:
@ -93,6 +98,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: install docker-compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Validate gocd config
run: cd gocd && sh generate.sh && git diff --exit-code