Skip to content

Commit 562adbf

Browse files
committed
ci: minor improvements
1 parent 318fb9a commit 562adbf

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/build-deb.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
run: |
2323
sudo apt-get update
2424
- name: Install Poetry
25-
run: |
26-
pipx install poetry~=2.1.3
27-
python --version; python -m pip --version; poetry --version
25+
run: pipx install poetry~=2.1.3
2826
- name: Set up Python
2927
uses: actions/setup-python@v5
3028
with:
3129
python-version: 3.11
3230
cache: "poetry"
3331
- name: Setup project with Poetry
34-
run: poetry install --no-interaction
35-
- name: Prepare to build a Debian source package
32+
run: |
33+
python --version; python -m pip --version; poetry --version
34+
poetry install --no-interaction
35+
- name: Prepare to build a Debian package
3636
run: |
3737
sudo apt-get -y install build-essential debhelper dh-make rename
3838

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ permissions:
1313

1414
jobs:
1515
build-and-publish:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717

1818
name: Build Python package, publish to (Test-)PyPI
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Install Poetry
22-
run: |
23-
pipx install poetry~=2.1.3
24-
python --version; python -m pip --version; poetry --version
22+
run: pipx install poetry~=2.1.3
2523
- name: Set up Python
2624
uses: actions/setup-python@v5
2725
with:
2826
python-version: 3.11
2927
cache: "poetry"
3028
- name: Setup project with Poetry
31-
run: poetry install --no-interaction
29+
run: |
30+
python --version; python -m pip --version; poetry --version
31+
poetry install --no-interaction
3232
3333
- name: Build a Python package
3434
run: |

.github/workflows/python-code-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
check_python_code:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
strategy:
1616
matrix:
1717
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
@@ -20,16 +20,16 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Install Poetry
23-
run: |
24-
pipx install poetry~=2.1.3
25-
python --version; python -m pip --version; poetry --version
23+
run: pipx install poetry~=2.1.3
2624
- name: Set up Python ${{ matrix.python-version }}
2725
uses: actions/setup-python@v5
2826
with:
2927
python-version: ${{ matrix.python-version }}
3028
cache: "poetry"
3129
- name: Setup project with Poetry
32-
run: poetry install --no-interaction
30+
run: |
31+
python --version; python -m pip --version; poetry --version
32+
poetry install --no-interaction
3333
3434
- name: Check code style
3535
run: poetry run poe format_check

0 commit comments

Comments
 (0)