-
Notifications
You must be signed in to change notification settings - Fork 290
44 lines (42 loc) · 1.38 KB
/
reviewdog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Reviewdog
on:
pull_request:
branches:
- master
jobs:
bazel:
name: Bazel Buildifier
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- bazel
- uses: reviewdog/action-suggester@v1
black:
name: Python Black
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- black
- uses: reviewdog/action-suggester@v1
clang:
name: Clang Format
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- clang
- uses: reviewdog/action-suggester@v1
pyupgrade:
name: Python Pyupgrade
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- pyupgrade
- uses: reviewdog/action-suggester@v1