Skip to content

Commit 141fe58

Browse files
authored
Fix Poetry and Ubuntu runner versions on CI (#4721)
* Fix Poetry version to `1.8.5` * Replace `ubuntu-latest` by `ubuntu-24.04`
1 parent f85629c commit 141fe58

File tree

7 files changed

+16
-33
lines changed

7 files changed

+16
-33
lines changed

.github/actions/setup-pyk-env/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ runs:
1515
python-version: ${{ inputs.python-version }}
1616
- name: 'Install Poetry'
1717
uses: Gr1N/setup-poetry@v9
18+
with:
19+
poetry-version: '1.8.5'
1820
- name: 'Install package'
1921
shell: bash
2022
run: poetry -C pyk install

.github/actions/with-k-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ USER user
3838
WORKDIR /home/user
3939

4040
ENV PATH=/home/user/.local/bin:${PATH}
41-
RUN curl -sSL https://install.python-poetry.org | python3 - \
41+
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5 \
4242
&& poetry --version

.github/workflows/master-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
gh-release:
99
name: 'Publish GitHub Prerelease'
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: 'Check out code'
1313
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
source-tarball:
2323
name: 'Create source tarball'
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-24.04
2525
environment: production
2626
steps:
2727
- name: 'Check out code'
@@ -475,7 +475,7 @@ jobs:
475475
476476
pyk-publish:
477477
name: 'Publish pyk'
478-
runs-on: ubuntu-latest
478+
runs-on: ubuntu-24.04
479479
environment: production
480480
permissions:
481481
id-token: write
@@ -491,6 +491,8 @@ jobs:
491491

492492
- name: Install Poetry
493493
uses: Gr1N/setup-poetry@v9
494+
with:
495+
poetry-version: '1.8.5'
494496

495497
- name: Build pyk
496498
working-directory: pyk
@@ -512,10 +514,10 @@ jobs:
512514
fi
513515
sleep 10
514516
done
515-
517+
516518
notify-dependents:
517519
name: 'Notify Dependents'
518-
runs-on: ubuntu-latest
520+
runs-on: ubuntu-24.04
519521
needs: pyk-publish
520522
steps:
521523
- name: Check out code

.github/workflows/run-actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: pull_request
44
jobs:
55
actionlint:
66
name: Run actionlint
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-24.04
88
steps:
99
- uses: actions/checkout@v4
1010
- name: Download actionlint

.github/workflows/test-pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
jobs:
1212
format-check:
1313
name: 'Java: Linting'
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: 'Check out code'
1717
uses: actions/checkout@v4
@@ -30,7 +30,7 @@ jobs:
3030

3131
pyk-code-quality-checks:
3232
name: 'Pyk: Code Quality & Unit Tests'
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-24.04
3434
timeout-minutes: 5
3535
strategy:
3636
fail-fast: false
@@ -56,7 +56,7 @@ jobs:
5656

5757
code-quality:
5858
name: 'Code Quality Checks'
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-24.04
6060
needs:
6161
- format-check
6262
- pyk-code-quality-checks
@@ -156,7 +156,7 @@ jobs:
156156
name: 'Pyk: Nix Build'
157157
strategy:
158158
matrix:
159-
os: [ubuntu-latest, macos-14]
159+
os: [ubuntu-24.04, macos-14]
160160
runs-on: ${{ matrix.os }}
161161
steps:
162162
- name: 'Check out code'
@@ -311,7 +311,7 @@ jobs:
311311
pyk-regression-tests:
312312
needs: test-frontend-package-ubuntu-jammy
313313
name: 'Pyk: Regression Tests'
314-
runs-on: ubuntu-latest
314+
runs-on: ubuntu-24.04
315315
timeout-minutes: 30
316316
steps:
317317
- name: 'Check out code'

pyk/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)