File inherits from Stream: proper support for print and println of al… #40
This file contains 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 | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*.json' | |
- '**.md' | |
- keywords.txt | |
- library.properties | |
pull_request: | |
paths-ignore: | |
- '*.json' | |
- '**.md' | |
- keywords.txt | |
- library.properties | |
workflow_dispatch: | |
jobs: | |
astyle: | |
name: Check code formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- 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 |