fix: rearange instead of delete nested compoents #1373
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: build and test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install and configure poetry | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: pipx install poetry==1.8.3 | |
- name: Configure poetry | |
run: | | |
poetry config virtualenvs.in-project false | |
poetry config cache-dir ~/cache/.poetry | |
- name: Build package | |
run: | | |
poetry install | |
tests: | |
needs: build | |
uses: ./.github/workflows/tests.yml |