mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 09:54:21 +01:00
d0107f7830
fail if `bundle.min.css` or `bundle.min.js` differes from a `make bundle` output Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
56 lines
1.0 KiB
YAML
56 lines
1.0 KiB
YAML
name: lint
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
|
|
black:
|
|
uses: ./.github/workflows/make.yml
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
with:
|
|
make: checkblack
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
ruff:
|
|
uses: ./.github/workflows/make.yml
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
with:
|
|
make: checkruff
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
mypy:
|
|
uses: ./.github/workflows/make.yml
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
with:
|
|
make: mypy
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
pyright:
|
|
uses: ./.github/workflows/make.yml
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
with:
|
|
make: pyright
|
|
python-version: ${{ matrix.python-version }}
|
|
npm: true
|
|
|
|
|
|
prettier:
|
|
uses: ./.github/workflows/make.yml
|
|
with:
|
|
make: checkprettier
|
|
npm: true
|
|
|
|
bundle:
|
|
uses: ./.github/workflows/make.yml
|
|
with:
|
|
make: checkbundle
|
|
npm: true
|