Skip to content

Add astyle test to Github Workflow #1

Add astyle test to Github Workflow

Add astyle test to Github Workflow #1

Workflow file for this run

name: Asytle format test
on:
push:
branches: [ '*' ]
pull_request:
branches: [ "main" ]
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: sudo apt install astyle
- name: Astyle
run: astyle **/*.[ch] --options=.astylerc --dry-run | grep -vq "Formatted"