Merge pull request #201 from mithro/buildifier-fixes #550
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
buildifier: | |
runs-on: ubuntu-20.04 | |
env: | |
BUILDIFIER_VERSION: v6.3.3 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo wget https://github.com/bazelbuild/buildtools/releases/download/${{env.BUILDIFIER_VERSION}}/buildifier-linux-amd64 -O /usr/local/bin/buildifier | |
- run: sudo chmod +x /usr/local/bin/buildifier | |
- run: buildifier -lint warn -r . |