-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH Actions: add linting for GH Action yaml files #2018
Conversation
fbda777
to
2589694
Compare
JaCoCo Test Coverage
|
@@ -113,7 +113,7 @@ jobs: | |||
- name: "API Gateway Rest Controller GET /hello - Validate Response" | |||
run: | | |||
# Validate Response: | |||
if [ "${{ fromJson(steps.apiGatewayHello.outputs.response).data }}" != "Hi!"]; then | |||
if [ "${{ fromJson(steps.apiGatewayHello.outputs.response).data }}" != "Hi!" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed bug found by linter
if: inputs.run_all_tests || steps.changed-files-specific.outputs.any_changed == 'true' | ||
run: | | ||
./gradlew :domain-cc:test | ||
|
||
- name: "Run Employee Experience tests" | ||
if: inputs.run_all_tests || steps.ee-changed-files-specific.any_changed == 'true' | ||
if: inputs.run_all_tests || steps.ee-changed-files-specific.outputs.any_changed == 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed bug found by linter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Crux of PR
type: number | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no type number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What was the problem?
There was not linter to protect from errors in GH Action yaml files
How does this fix it?
Add
lint-gh-actions.yml
that runs linter to protect from errors in GH Action yaml files.Also fix all the lint problems.
How to test this PR
Ensure all GH Actions continue to work