This repository has been archived by the owner on May 17, 2024. It is now read-only.
Fix for more than 50 fields in Postgres #63
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: formatter | |
on: | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
linter_name: | |
name: runner / black | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check files using the black formatter | |
uses: rickstaa/action-black@v1 | |
id: black_formatter | |
with: | |
black_args: ". -l 120" | |
- name: Annotate diff changes using reviewdog | |
if: steps.black_formatter.outputs.is_formatted == 'true' | |
uses: reviewdog/action-suggester@v1 | |
with: | |
tool_name: blackfmt |