add static analysis action
ProxmoxAAS-Dashboard Go Static Analysis Check / lint-check (push) Failing after 26s
ProxmoxAAS-Dashboard Go Static Analysis Check / lint-check (push) Failing after 26s
This commit is contained in:
@@ -50,20 +50,8 @@ jobs:
|
||||
|
||||
- name: Verify Linters
|
||||
if: always()
|
||||
run: |
|
||||
FAILED=0
|
||||
if [ "${{ steps.html_lint.outcome }}" != "success" ]; then
|
||||
echo "HTML Linter failed"
|
||||
FAILED=1
|
||||
fi
|
||||
if [ "${{ steps.style_lint.outcome }}" != "success" ]; then
|
||||
echo "Style Linter failed"
|
||||
FAILED=1
|
||||
fi
|
||||
if [ "${{ steps.js_lint.outcome }}" != "success" ]; then
|
||||
echo "JS Linter failed"
|
||||
FAILED=1
|
||||
fi
|
||||
if [ $FAILED -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
if: >
|
||||
steps.html_lint.outcome != 'success' ||
|
||||
steps.style_lint.outcome != 'success' ||
|
||||
steps.js_lint.outcome != 'success'
|
||||
run: exit 1
|
||||
Reference in New Issue
Block a user