Skip to content

Commit

Permalink
try reusing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Apr 16, 2024
1 parent d8fa880 commit c769bff
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 138 deletions.
66 changes: 0 additions & 66 deletions .github/actions/prepare/action.yml

This file was deleted.

78 changes: 40 additions & 38 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,47 @@ on:
pull_request:

jobs:
black:
uses: ./.github/workflows/make.yml
strategy:
matrix:
python-version: ['3.9', '3.10']
with:
make: checkblack
python-version: ${{ matrix.python-version }}
lint:
uses: lnbits/lnbits/.github/workflows/lint.yml
# 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 }}
# 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 }}
# 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
# 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
# prettier:
# uses: ./.github/workflows/make.yml
# with:
# make: checkprettier
# npm: true
34 changes: 0 additions & 34 deletions .github/workflows/make.yml

This file was deleted.

0 comments on commit c769bff

Please sign in to comment.