diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 13d001b4d..62760bb9a 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -43,6 +43,24 @@ 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 . + git diff + test: # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md runs-on: ubuntu-24.04