Procházet zdrojové kódy

fix: (#9336 followup) skip poetry preperation in style workflow when no change in api folder (#9362)

tags/0.10.0
Bowen Liang před 1 rokem
rodič
revize
d5bc125617
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 3
- 4
.github/workflows/db-migration-test.yml Zobrazit soubor

- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4


- name: Install Poetry
uses: abatilo/actions-poetry@v3

- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'poetry'
cache-dependency-path: | cache-dependency-path: |
api/pyproject.toml api/pyproject.toml
api/poetry.lock api/poetry.lock


- name: Install Poetry
uses: abatilo/actions-poetry@v3

- name: Install dependencies - name: Install dependencies
run: poetry install -C api run: poetry install -C api



+ 1
- 0
.github/workflows/style.yml Zobrazit soubor

python-version: '3.10' python-version: '3.10'


- name: Install Poetry - name: Install Poetry
if: steps.changed-files.outputs.any_changed == 'true'
uses: abatilo/actions-poetry@v3 uses: abatilo/actions-poetry@v3


- name: Python dependencies - name: Python dependencies

Načítá se…
Zrušit
Uložit