Skip to content

Commit 606bbcc

Browse files
committed
CI: Use uv solo where Python is not strictly needed
1 parent 93e4642 commit 606bbcc

13 files changed

+45
-130
lines changed

.github/workflows/lang-csharp-efcore.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,14 @@ jobs:
5858
- name: Acquire sources
5959
uses: actions/checkout@v4
6060

61+
- name: Set up uv
62+
uses: astral-sh/setup-uv@v7
63+
6164
- name: Set up .NET ${{ matrix.dotnet-version }}
6265
uses: actions/setup-dotnet@v5
6366
with:
6467
dotnet-version: ${{ matrix.dotnet-version }}
6568

66-
- name: Set up Python
67-
uses: actions/setup-python@v6
68-
with:
69-
python-version: "3.13"
70-
architecture: x64
71-
cache: 'pip'
72-
cache-dependency-path: |
73-
requirements.txt
74-
75-
- name: Install utilities
76-
run: |
77-
pip install -r requirements.txt
78-
7969
- name: Validate by-language/csharp-efcore
8070
run: |
81-
ngr test by-language/csharp-efcore --dotnet-version=${{ matrix.dotnet-version }}
71+
uv run --with=pueblo ngr test by-language/csharp-efcore --dotnet-version=${{ matrix.dotnet-version }}

.github/workflows/lang-csharp-npgsql.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,14 @@ jobs:
6060
- name: Acquire sources
6161
uses: actions/checkout@v4
6262

63+
- name: Set up uv
64+
uses: astral-sh/setup-uv@v7
65+
6366
- name: Set up .NET ${{ matrix.dotnet-version }}
6467
uses: actions/setup-dotnet@v5
6568
with:
6669
dotnet-version: ${{ matrix.dotnet-version }}
6770

68-
- name: Set up Python
69-
uses: actions/setup-python@v6
70-
with:
71-
python-version: "3.11"
72-
architecture: x64
73-
cache: 'pip'
74-
cache-dependency-path: |
75-
requirements.txt
76-
77-
- name: Install utilities
78-
run: |
79-
pip install -r requirements.txt
80-
8171
- name: Validate by-language/csharp-npgsql, Npgsql ${{ matrix.npgsql-version }}
8272
run: |
83-
ngr test by-language/csharp-npgsql --dotnet-version=${{ matrix.dotnet-version }} --npgsql-version=${{ matrix.npgsql-version }}
73+
uv run --with=pueblo ngr test by-language/csharp-npgsql --dotnet-version=${{ matrix.dotnet-version }} --npgsql-version=${{ matrix.npgsql-version }}

.github/workflows/lang-elixir-postgrex.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,15 @@ jobs:
5656
- name: Acquire sources
5757
uses: actions/checkout@v4
5858

59+
- name: Set up uv
60+
uses: astral-sh/setup-uv@v7
61+
5962
- name: Install Elixir
6063
uses: erlef/setup-beam@v1
6164
with:
6265
otp-version: ${{matrix.otp-version}}
6366
elixir-version: ${{matrix.elixir-version}}
6467

65-
- name: Install utilities
66-
run: |
67-
pip install -r requirements.txt
68-
6968
- name: Validate by-language/elixir-postgrex
7069
run: |
71-
ngr test by-language/elixir-postgrex
70+
uv run --with=pueblo ngr test by-language/elixir-postgrex

.github/workflows/lang-go-pgx.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,14 @@ jobs:
5656
- name: Acquire sources
5757
uses: actions/checkout@v4
5858

59+
- name: Set up uv
60+
uses: astral-sh/setup-uv@v7
61+
5962
- name: Install Go
6063
uses: actions/setup-go@v6
6164
with:
6265
go-version: ${{ matrix.go-version }}
6366

64-
- name: Install utilities
65-
run: |
66-
pip install -r requirements.txt
67-
6867
- name: Validate by-language/go-pgx
6968
run: |
70-
ngr test by-language/go-pgx
69+
uv run --with=pueblo ngr test by-language/go-pgx

.github/workflows/lang-java-jooq.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,8 @@ jobs:
5757
- name: Acquire sources
5858
uses: actions/checkout@v4
5959

60-
- name: Set up Python
61-
uses: actions/setup-python@v6
62-
with:
63-
python-version: "3.11"
64-
architecture: x64
65-
cache: 'pip'
66-
cache-dependency-path: |
67-
requirements.txt
68-
69-
- name: Install utilities
70-
run: |
71-
pip install -r requirements.txt
60+
- name: Set up uv
61+
uses: astral-sh/setup-uv@v7
7262

7363
- name: Set up Java
7464
uses: actions/setup-java@v5
@@ -79,4 +69,4 @@ jobs:
7969

8070
- name: Validate by-language/java-jooq
8171
run: |
82-
ngr test by-language/java-jooq
72+
uv run --with=pueblo ngr test by-language/java-jooq

.github/workflows/lang-java-maven.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,8 @@ jobs:
6161
- name: Acquire sources
6262
uses: actions/checkout@v4
6363

64-
- name: Set up Python
65-
uses: actions/setup-python@v6
66-
with:
67-
python-version: "3.11"
68-
architecture: x64
69-
cache: 'pip'
70-
cache-dependency-path: |
71-
requirements.txt
72-
73-
- name: Install utilities
74-
run: |
75-
pip install -r requirements.txt
64+
- name: Set up uv
65+
uses: astral-sh/setup-uv@v7
7666

7767
- name: Set up Java
7868
uses: actions/setup-java@v5
@@ -83,8 +73,8 @@ jobs:
8373

8474
- name: Validate by-language/java-jdbc
8575
run: |
86-
ngr test by-language/java-jdbc
76+
uv run --with=pueblo ngr test by-language/java-jdbc
8777
8878
- name: Validate by-language/java-qa
8979
run: |
90-
ngr test by-language/java-qa
80+
uv run --with=pueblo ngr test by-language/java-qa

.github/workflows/lang-php-amphp.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,8 @@ jobs:
5454
- name: Acquire sources
5555
uses: actions/checkout@v4
5656

57-
- name: Set up Python
58-
uses: actions/setup-python@v6
59-
with:
60-
python-version: "3.11"
61-
architecture: x64
62-
cache: 'pip'
63-
cache-dependency-path: |
64-
requirements.txt
65-
66-
- name: Install utilities
67-
run: |
68-
pip install -r requirements.txt
57+
- name: Set up uv
58+
uses: astral-sh/setup-uv@v7
6959

7060
# https://github.com/marketplace/actions/setup-php-action
7161
- name: Set up PHP
@@ -76,4 +66,4 @@ jobs:
7666

7767
- name: Validate by-language/php-amphp
7868
run: |
79-
ngr test by-language/php-amphp
69+
uv run --with=pueblo ngr test by-language/php-amphp

.github/workflows/lang-php-pdo.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,8 @@ jobs:
5454
- name: Acquire sources
5555
uses: actions/checkout@v4
5656

57-
- name: Set up Python
58-
uses: actions/setup-python@v6
59-
with:
60-
python-version: "3.11"
61-
architecture: x64
62-
cache: 'pip'
63-
cache-dependency-path: |
64-
requirements.txt
65-
66-
- name: Install utilities
67-
run: |
68-
pip install -r requirements.txt
57+
- name: Set up uv
58+
uses: astral-sh/setup-uv@v7
6959

7060
# https://github.com/marketplace/actions/setup-php-action
7161
- name: Set up PHP
@@ -76,4 +66,4 @@ jobs:
7666

7767
- name: Validate by-language/php-pdo
7868
run: |
79-
ngr test by-language/php-pdo
69+
uv run --with=pueblo ngr test by-language/php-pdo

.github/workflows/lang-r.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ jobs:
5252
- name: Acquire sources
5353
uses: actions/checkout@v4
5454

55+
- name: Set up uv
56+
uses: astral-sh/setup-uv@v7
57+
5558
- name: Install R
5659
uses: r-lib/actions/setup-r@v2
5760

58-
- name: Install utilities
59-
run: |
60-
pip install -r requirements.txt
61-
6261
- name: Validate by-language/r
6362
run: |
64-
ngr test by-language/r
63+
uv run --with=pueblo ngr test by-language/r

.github/workflows/lang-ruby.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,8 @@ jobs:
5454
- name: Acquire sources
5555
uses: actions/checkout@v4
5656

57-
- name: Set up Python
58-
uses: actions/setup-python@v6
59-
with:
60-
python-version: "3.11"
61-
architecture: x64
62-
cache: 'pip'
63-
cache-dependency-path: |
64-
requirements.txt
65-
66-
- name: Install utilities
67-
run: |
68-
pip install -r requirements.txt
57+
- name: Set up uv
58+
uses: astral-sh/setup-uv@v7
6959

7060
- name: Set up Ruby
7161
uses: ruby/setup-ruby@v1
@@ -79,4 +69,4 @@ jobs:
7969

8070
- name: Validate by-language/ruby
8171
run: |
82-
ngr test by-language/ruby
72+
uv run --with=pueblo ngr test by-language/ruby

0 commit comments

Comments
 (0)