SNOW-1814204 Use fair lock to ensure granting sequence #2629
Workflow file for this run
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: GoogleJavaFormat | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Format code | |
run: ./format.sh | |
- if: ${{ failure() }} | |
run: git diff --color=always |