11name : SingleStore .NET Connector
22
3- on : [push]
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ push :
7+ branches : [master]
8+ tags :
9+ - ' v*'
10+ workflow_call :
11+ workflow_dispatch :
412
513env :
6- DOTNET_VERSION : 9 .0.303
7- TARGET_FRAMEWORK : net9 .0
8- CONNECTOR_VERSION : 1.3 .0
14+ DOTNET_VERSION : 10 .0.x
15+ TARGET_FRAMEWORK : net10 .0
16+ CONNECTOR_VERSION : 1.4 .0
917 LICENSE_KEY : ${{ secrets.LICENSE_KEY }}
1018 SQL_USER_PASSWORD : ${{ secrets.SQL_USER_PASSWORD }}
1119 S2MS_API_KEY : ${{ secrets.S2MS_API_KEY }}
@@ -51,13 +59,13 @@ jobs:
5159
5260 test-ubuntu :
5361 name : ${{ matrix.name }}
54- runs-on : ubuntu-22.04
5562 needs : build-matrix
63+ runs-on : ubuntu-24.04
5664 strategy :
5765 fail-fast : false
5866 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
5967 steps :
60- - uses : actions/checkout@v4
68+ - uses : actions/checkout@v5
6169
6270 - name : Remove unnecessary pre-installed toolchains for free disk spaces
6371 run : |
@@ -77,18 +85,16 @@ jobs:
7785 df -h
7886
7987 - name : Set up .NET
80- uses : actions/setup-dotnet@v4
88+ uses : actions/setup-dotnet@v5
8189 with :
8290 dotnet-version : ${{ env.DOTNET_VERSION }}
8391
8492 - name : Install dependencies
8593 run : |
8694 sudo apt-get update
87- sudo apt-get install -y apt-transport-https
88- sudo apt-get install -y mariadb-client-core-10.6
89- sudo apt-get install -y mariadb-client-10.6
95+ sudo apt-get install -y mariadb-client-core
96+ sudo apt-get install -y mariadb-client
9097 sudo apt-get update
91- sudo apt-get install -y dotnet-sdk-9.0
9298 dotnet --info
9399
94100 - name : Start SingleStore Cluster
@@ -138,18 +144,19 @@ jobs:
138144 dotnet test -f ${{ env.TARGET_FRAMEWORK }} -c Release --no-build
139145 cd ../../
140146
147+
141148 test-windows :
142149 runs-on : windows-latest
143150 strategy :
144151 fail-fast : false
145152 steps :
146- - uses : actions/checkout@v4
153+ - uses : actions/checkout@v5
147154
148155 - name : Install Python dependencies
149156 run : pip install singlestoredb
150157
151158 - name : Install .NET
152- uses : actions/setup-dotnet@v4
159+ uses : actions/setup-dotnet@v5
153160 with :
154161 dotnet-version : ${{ env.DOTNET_VERSION }}
155162
@@ -161,7 +168,7 @@ jobs:
161168
162169 - name : Fill test config
163170 run : python .github\workflows\fill_test_config.py
164-
171+
165172 - name : Export full connection string
166173 shell : bash
167174 run : echo "CONNECTION_STRING=$(< $HOME/CONNECTION_STRING)" >> $GITHUB_ENV
@@ -189,10 +196,10 @@ jobs:
189196 if : startsWith(github.ref, 'refs/tags/')
190197 runs-on : windows-latest
191198 steps :
192- - uses : actions/checkout@v4
199+ - uses : actions/checkout@v5
193200
194201 - name : Install .NET
195- uses : actions/setup-dotnet@v4
202+ uses : actions/setup-dotnet@v5
196203 with :
197204 dotnet-version : ${{ env.DOTNET_VERSION }}
198205
@@ -206,7 +213,7 @@ jobs:
206213 run : dotnet pack -c Release --output net_connector -p:PackageVersion=${{ env.CONNECTOR_VERSION }}
207214
208215 - name : Upload artifact
209- uses : actions/upload-artifact@v4
216+ uses : actions/upload-artifact@v5
210217 with :
211218 name : net_connector
212219 path : net_connector/
0 commit comments