Skip to content

Renamed mode_t to jasMode_t #57

Renamed mode_t to jasMode_t

Renamed mode_t to jasMode_t #57

Workflow file for this run

name: Format Code with Clang
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Clang
run: sudo apt-get install clang -y
- name: Format code with Clang
run: clang-format -i **/*.{c,h} --verbose
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git diff --quiet && git diff --staged --quiet || git commit -am "Format code with Clang"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}