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 1313# limitations under the License.
1414
1515---
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"
2116# NOTE: Minimum supported version is 7.x
2217.minimum_supported_version : &minimum_supported_version
2318 # 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 2525 hooks :
2626 - id : buildifier
2727 args : &args
28- # Keep this argument in sync with .bazelci/presubmit.yaml
2928 - --warnings=all
3029 - id : buildifier-lint
3130 args : *args
You can’t perform that action at this time.
0 commit comments