Add formatter #6
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: Code Format Check | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 # Update to v3 | |
- name: Set up system | |
run: python3 scripts/setup.py --skip-upgrade | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check Code Format | |
run: python3 scripts/format.py --dry-run |