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