Improve robustness when bus error happens #19
This file contains hidden or 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: Astyle Check | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Astyle check | |
| id: Astyle | |
| uses: stm32duino/actions/astyle-check@main | |
| # Use the output from the `Astyle` step | |
| - name: Astyle Errors | |
| if: failure() | |
| run: | | |
| cat ${{ steps.Astyle.outputs.astyle-result }} | |
| exit 1 |