There was an error while loading. Please reload this page.
1 parent 4858608 commit cc1982dCopy full SHA for cc1982d
2 files changed
.github/workflows/ci.yml
@@ -0,0 +1,9 @@
1
+name: ci
2
+
3
+on:
4
+ pull_request:
5
+ branches: [master]
6
7
+jobs:
8
+ common:
9
+ uses: TokTok/ci-tools/.github/workflows/common-ci.yml@master
.github/workflows/common-ci.yml
@@ -0,0 +1,15 @@
+on: [workflow_call]
+ buildifier:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
10
+ - name: Install
11
+ run: |
12
+ wget -O buildifier https://github.com/bazelbuild/buildtools/releases/download/4.2.4/buildifier-linux-amd64
13
+ chmod +x buildifier
14
+ - name: Check
15
+ run: ./buildifier --lint=warn --warnings=all -mode diff $(find . -type f -name "WORKSPACE" -or -name "BUILD.*")
0 commit comments