c-kzg-4844/.github/workflows/format-test.yml

22 lines
361 B
YAML
Raw Normal View History

name: Formatting tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Check formatting
run: |
cd src
make format
git diff --exit-code