Skip to content

Commit

Permalink
Test when running as script
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Jan 16, 2024
1 parent 4ec4253 commit 41d0d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
pre-commit gc
pre-commit run --show-diff-on-failure --color=always --all-files | tee ${RAW_LOG}
- name: Convert Raw Log to CheckStyle format (launch script)
# if: ${{ failure() }}
if: false
if: ${{ failure() }}
# if: false
run: |
python ${LOG_TO_CS} ${RAW_LOG} ${CS_XML}
- name: Convert Raw Log to Checkstyle format (launch action)
uses: mdeweerd/logToCheckStyle@v2024.1.5
if: ${{ failure() }}
if: ${{ false && failure() }}
with:
in: ${{ env.RAW_LOG }}
out: ${{ env.CS_XML }}
- name: Annotate Source Code with Messages
uses: staabm/annotate-pull-request-from-checkstyle-action@v1
if: ${{ failure() }}
if: ${{ false && failure() }}
with:
files: ${{ env.CS_XML }}
notices-as-warnings: true # optional
Expand Down

0 comments on commit 41d0d60

Please sign in to comment.