Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
working-directory: tests/ocpp-server
steps:
- uses: actions/checkout@v4
+ - run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: 3.12
- - run: pip install poetry
+ cache: poetry
- run: poetry install --no-root
- run: poetry run task format
working-directory: tests/ocpp-server
steps:
- uses: actions/checkout@v4
+ - name: Install Poetry
+ run: pipx install poetry
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- - name: Install Poetry
- run: pip install poetry
+ cache: poetry
- name: Install Dependencies
run: poetry install --no-root
- name: Lint