fix(deps): update dependency pillow to v10 [security] #364
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
name: ci | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: setup Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: install Poetry | |
uses: snok/install-poetry@v1.4.1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
# load cached venv if cache exists | |
- name: load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | |
# install dependencies if cache does not exist | |
- name: install dependencies | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
run: poetry install --no-interaction --no-root | |
# Install this package (root) | |
- name: install library | |
run: | | |
poetry install -E imaging --no-interaction | |
poetry run poe generate | |
- name: run tests | |
run: poetry run poe test | |
- name: run linter | |
run: poetry run poe lint |