File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
---
16
- buildifier :
17
- # keep these arguments in sync with .pre-commit-config.yaml
18
- # Use a specific version to avoid skew issues when new versions are released.
19
- version : 6.1.0
20
- warnings : " all"
21
16
# NOTE: Minimum supported version is 7.x
22
17
.minimum_supported_version : &minimum_supported_version
23
18
# For testing minimum supported version.
Original file line number Diff line number Diff line change
1
+ name : lint
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ types :
9
+ - opened
10
+ - synchronize
11
+
12
+ defaults :
13
+ run :
14
+ shell : bash
15
+
16
+ jobs :
17
+ ci :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ - uses : actions/setup-python@v3
22
+ -
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change 25
25
hooks :
26
26
- id : buildifier
27
27
args : &args
28
- # Keep this argument in sync with .bazelci/presubmit.yaml
29
28
- --warnings=all
30
29
- id : buildifier-lint
31
30
args : *args
You can’t perform that action at this time.
0 commit comments