1212 matrix :
1313 platform :
1414 - " x64-mingw32" 
15-  - " x86-mingw32" 
1615 - " x64-mingw-ucrt" 
1716 name : cross-compile-windows 
1817 runs-on : ubuntu-22.04 
@@ -35,10 +34,10 @@ jobs:
3534 uses : actions/cache@v4 
3635 with :
3736 path : ports 
38-  key : cross-compiled-${{ hashFiles('**/.ports_versions') }} 
37+  key : cross-compiled-v3-${{ matrix.platform }}- ${{ hashFiles('**/.ports_versions') }} 
3938 restore-keys : | 
40-  cross-compiled-${{ hashFiles('**/.ports_versions') }} 
41-  cross-compiled-v2 - 
39+  cross-compiled-v3-${{ matrix.platform }}- ${{ hashFiles('**/.ports_versions') }} 
40+  cross-compiled-v3-${{ matrix.platform }} - 
4241
4342  - name : Build gem 
4443 shell : bash 
9695 strategy :
9796 fail-fast : false 
9897 matrix :
98+  force-encryption :
99+  - false 
100+  - true 
99101 mssql-version :
100-  # - 2017
102+  - 2017 
101103 - 2019 
102104 - 2022 
103105 ruby-version :
@@ -138,12 +140,12 @@ jobs:
138140 Copy-Item -Path ".\tmp\tiny_tds-$gemVersion-$rubyArchitecture\ports" -Destination "." -Recurse 
139141
140142  - name : Setup MSSQL 
141-  uses : potatoqualitee/mssqlsuite @v1.7 
143+  uses : rails-sqlserver/setup-mssql @v1
142144 with :
143-  install :  sqlengine, sqlclient 
145+  components :  sqlcmd,sqlengine 
144146 version : ${{ matrix.mssql-version }} 
145147 sa-password : c0MplicatedP@ssword 
146-  show-log :  true 
148+  force-encryption :  ${{ matrix.force-encryption }} 
147149
148150 - name : Setup MSSQL database 
149151 shell : pwsh 
@@ -217,8 +219,11 @@ jobs:
217219 strategy :
218220 fail-fast : false 
219221 matrix :
222+  force-encryption :
223+  - false 
224+  - true 
220225 mssql-version :
221-  # - 2017
226+  - 2017 
222227 - 2019 
223228 - 2022 
224229 ruby-version :
@@ -259,12 +264,12 @@ jobs:
259264 Copy-Item -Path ".\tmp\tiny_tds-$gemVersion-$rubyArchitecture\ports" -Destination "." -Recurse 
260265
261266  - name : Setup MSSQL 
262-  uses : potatoqualitee/mssqlsuite @v1.7 
267+  uses : rails-sqlserver/setup-mssql @v1
263268 with :
264-  install :  sqlengine, sqlclient 
269+  components :  sqlcmd,sqlengine 
265270 version : ${{ matrix.mssql-version }} 
266271 sa-password : c0MplicatedP@ssword 
267-  show-log :  true 
272+  force-encryption :  ${{ matrix.force-encryption }} 
268273
269274 - name : Setup MSSQL database 
270275 shell : pwsh 
@@ -345,10 +350,10 @@ jobs:
345350 uses : actions/cache@v4 
346351 with :
347352 path : ports 
348-  key : native-v2 -${{ hashFiles('**/.ports_versions') }} 
353+  key : native-v3 -${{ hashFiles('**/.ports_versions') }} 
349354 restore-keys : | 
350-  native-${{ hashFiles('* */.ports_versions') }} 
351-  native-v2 - 
355+  native-v3- ${{ hashFiles('* */.ports_versions') }} 
356+  native-v3 - 
352357
353358  - name : Build required libraries 
354359 run : | 
@@ -388,20 +393,19 @@ jobs:
388393 uses : actions/cache@v4 
389394 with :
390395 path : ports 
391-  key : native-v2 -${{ hashFiles('**/.ports_versions') }} 
396+  key : native-v3 -${{ hashFiles('**/.ports_versions') }} 
392397 fail-on-cache-miss : true 
393398
394399 - name : Build gem 
395400 run : | 
396401 bundle exec rake build 
397402
398403  - name : Setup MSSQL 
399-  uses : potatoqualitee/mssqlsuite @v1.7 
404+  uses : rails-sqlserver/setup-mssql @v1
400405 with :
401-  install :  sqlengine, sqlclient 
406+  components :  sqlcmd,sqlengine 
402407 version : ${{ matrix.mssql-version }} 
403408 sa-password : " c0MplicatedP@ssword" 
404-  show-log : true 
405409
406410 - name : Setup MSSQL database 
407411 run : | 
0 commit comments