Skip to content

Покращення: кольорова нотіфікація процесу оновлення прошивки #26

Покращення: кольорова нотіфікація процесу оновлення прошивки

Покращення: кольорова нотіфікація процесу оновлення прошивки #26

Workflow file for this run

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: Copy JS to the flasher
# This step is required to copy the JS file to the flasher directory to check it with proof-html
run: |
cp -f ${{ github.workspace }}/deploy/web_server/jaam_v2.js ${{ github.workspace }}/flasher/jaam_v2.js
- 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"