mirror of https://github.com/lukechilds/lnbits.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
628 B
26 lines
628 B
5 years ago
|
name: Run Linters
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
mypy:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v1
|
||
|
- name: Run MyPy python type checker
|
||
|
uses: jpetrucciani/mypy-check@master
|
||
|
with:
|
||
|
path: 'lnbits'
|
||
|
|
||
|
prettier:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v1
|
||
|
- name: Check JS code formatting convention
|
||
|
uses: creyD/prettier_action@v2.2
|
||
|
with:
|
||
|
dry: True
|
||
|
prettier_options: --write lnbits/static/js/** lnbits/core/static/js/** lnbits/extensions/*/templates/**
|