STM32duinoLoraWan new example going to sleep and sending packet #32
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: Check code formatting with astyle | |
on: | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
check: | |
name: Check for astyle errors | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt install astyle | |
- uses: actions/checkout@v3 | |
- run: astyle --project=.astylerc --recursive '*.c' '*.h' '*.ino' | |
# If anything changed, this will fail and show the needed changes | |
- run: git diff --exit-code |