We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 274a172 + 2fc8020 commit d557740Copy full SHA for d557740
.github/workflows/static-analysis.yml
@@ -21,10 +21,7 @@ jobs:
21
22
- name: Run Psalm
23
id: analysis
24
- run: |
25
- vendor/bin/psalm
26
- echo EXIT_CODE=$? >> $GITHUB_OUTPUT
27
- exit 0;
+ run: vendor/bin/psalm || echo EXIT_CODE=$? >> $GITHUB_OUTPUT || exit 0
28
29
30
# Since GitHub Actions for some reason doesn't support exiting with warnings, we work around this by
@@ -36,4 +33,4 @@ jobs:
36
33
if: needs.psalm.outputs.exit-code == 0
37
34
steps:
38
35
- name: Report analysis passed
39
- run: exit 0;
+ run: echo "Got code ${{ needs.psalm.outputs.exit-code }}" && exit 0;
0 commit comments