Merge pull request #292 from J-A-A-M/district_alerts #115
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 Check | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: | |
- develop | |
jobs: | |
check_flasher: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check flasher with proof-html | |
uses: anishathalye/proof-html@v2 | |
with: | |
directory: ${{ github.workspace }}/flasher | |
run_black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Black in the check mode | |
uses: psf/black@stable | |
with: | |
options: "--check --verbose --line-length 120 --diff --color --target-version py312" | |
src: ${{ github.workspace }}/deploy | |
version: "~= 24.0" |