diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml new file mode 100644 index 0000000..a482113 --- /dev/null +++ b/.github/workflows/coding-style.yml @@ -0,0 +1,14 @@ +name: code-style +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - uses: yshui/git-clang-format-lint@v1.7 + with: + base: ${{ github.event.ref }}~1