mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
github action: check coding style of commits
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
3ad4ce9f77
commit
be0d4b9681
1 changed files with 14 additions and 0 deletions
14
.github/workflows/coding-style.yml
vendored
Normal file
14
.github/workflows/coding-style.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue