From 5d14844cf140031aed4be23a8800ee787efc33ad Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 17 May 2024 12:32:51 +0200 Subject: Use poetry in CI --- .github/workflows/build.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d15f9a7..41cdd93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,18 +7,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.12"] - + python-version: ["3.8", "3.12"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install pip and testing tools - run: | - python -m pip install --upgrade pipenv - pipenv install -d - - name: Test build - run: | - pipenv run build + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Run image + uses: abatilo/actions-poetry@v2 + with: + poetry-version: ${{ matrix.poetry-version }} + - name: Poetry install + run: poetry install + - name: Run build + run: poetry run build -- cgit v1.3.1