Initial commit. #1
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: Linter tests | |
on: | |
push: | |
branches: | |
- "*" | |
- "!sapling-pr-archive-*" | |
jobs: | |
buildifier: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Setup Go environment | |
uses: actions/setup-go@v5.0.0 | |
- name: Install buildifier | |
run: go install github.com/bazelbuild/buildtools/buildifier@latest | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run buildifier | |
run: | | |
buildifier -r -mode check . | |
find . -name BUCK -exec buildifier -mode check {} \; |