Add a check on the gocd config to github actions
This commit is contained in:
4
.github/workflows/ci-test.yml
vendored
4
.github/workflows/ci-test.yml
vendored
@@ -39,6 +39,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate gocd config
|
||||
run: cd gocd && sh generate.sh && git diff --exit-code
|
||||
|
||||
- name: Setup path
|
||||
run: sed -i -e "s,../..:,$PWD:," dist/ci/docker-compose.yml
|
||||
|
||||
@@ -49,4 +52,3 @@ jobs:
|
||||
if: always()
|
||||
run: docker-compose -f dist/ci/docker-compose.yml down
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user