Skip to content

Update README.md with latest usage information #166

Update README.md with latest usage information

Update README.md with latest usage information #166

Workflow file for this run

name: Automatic Code Formatters
on: push
jobs:
autoformat:
name: Auto-format code
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install formatters
run: |
sudo apt-get update
sudo apt-get install clang-format black
- name: Format code
run: |
clang-format -i --verbose $(find . -name "*.[ch]")
black --target-version py36 --verbose --line-length 79 .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: sscg CI
author_email: [email protected]
message: 'Code auto-formatting'
add: -u
commit: --signoff
push: true