fix: raise error if yaml file is empty or not a valid yaml object (#712) #547
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Main CI/CD" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-dummy: | |
runs-on: ubuntu-latest | |
environment: | |
name: libecalc-test | |
steps: | |
- name: dummy | |
run: echo "Deployed" | |
pre-ci: | |
uses: ./.github/workflows/pre-ci.yml | |
lib-ci: | |
uses: ./.github/workflows/lib-ci.yml | |
docs-publish: | |
uses: ./.github/workflows/docs-publish.yml | |
secrets: inherit | |
# We want/need to reserve patch bump in case we need to | |
# patch a release that is deployed and active. Therefore | |
# we bump minor here. Major bumps to versioning is currently | |
# reserved to manual invocation of release-please. | |
release-please: | |
uses: ./.github/workflows/release-please.yml | |
with: | |
versioning_strategy: 'always-bump-minor' | |
secrets: inherit | |
needs: [lib-ci] |