From 5d9a0ba1de5eafc9ed752e700b904995ec775c9d Mon Sep 17 00:00:00 2001 From: Mike Kot Date: Wed, 5 Jul 2023 20:08:48 +0300 Subject: [PATCH] fix --- .github/workflows/workflow.yml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d53ffef3..fa34b25f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,7 +1,24 @@ -name: Build and test package +name: on push on: [push] jobs: + lint: # fail-fast on linting + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: set up python ${{ matrix.target.python }} + uses: actions/setup-python@v4 + with: + python-version: "3.11" + cache: pip + + - run: make install-deps + + - name: "lint: black" + run: make black + - name: "lint: isort" + run: make isort + build: strategy: matrix: @@ -26,12 +43,6 @@ jobs: cache: pip - run: make install-deps - - - name: "lint: black" - run: make black - - name: "lint: isort" - run: make isort - - run: make build-python-package - name: upload wheel