From 370530fd156d32f02d6c0edf65b66f1feb76ea3e Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Fri, 18 Oct 2024 12:41:51 -0700 Subject: [PATCH] Run buildifier --- .github/workflows/linux.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 13d001b4d..5d8207977 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -43,6 +43,23 @@ jobs: path: src/bazel-bin/unix/mozc.zip if-no-files-found: warn + buildifier: + # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md + runs-on: ubuntu-24.04 + timeout-minutes: 60 + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: 'false' + + - name: Run + working-directory: ./src + run: | + go install github.com/bazelbuild/buildtools/buildifier@latest + $(go env GOPATH)/bin/buildifier -r . + test: # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md runs-on: ubuntu-24.04