26
26
strategy :
27
27
matrix :
28
28
os : [ubuntu-latest]
29
- scala : [2.12.19 , 2.13.14 , 3.3.3 ]
29
+ scala : [2.12.20 , 2.13.16 , 3.3.4 ]
30
30
java :
31
31
- graal_graalvm@17
32
32
- graal_graalvm@21
82
82
apps : sbt
83
83
84
84
- name : Check formatting
85
- if : matrix.scala == '2.13.14 '
86
- run : sbt ++2.13.14 fmtCheck
85
+ if : matrix.scala == '2.13.16 '
86
+ run : sbt ++2.13.16 fmtCheck
87
87
88
88
- name : Check that workflows are up to date
89
89
run : sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
@@ -97,10 +97,10 @@ jobs:
97
97
98
98
- name : Check doc generation
99
99
if : ${{ github.event_name == 'pull_request' }}
100
- run : sbt ++2.13.14 doc
100
+ run : sbt ++2.13.16 doc
101
101
102
102
- name : zio-http-shaded Tests
103
- if : matrix.scala == '2.13.14 '
103
+ if : matrix.scala == '2.13.16 '
104
104
env :
105
105
PUBLISH_SHADED : true
106
106
run : sbt '++ ${{ matrix.scala }}' zioHttpShadedTests/test
@@ -121,7 +121,7 @@ jobs:
121
121
strategy :
122
122
matrix :
123
123
os : [ubuntu-latest]
124
- scala : [2.13.14 ]
124
+ scala : [2.13.16 ]
125
125
java : [graal_graalvm@17]
126
126
runs-on : ${{ matrix.os }}
127
127
steps :
@@ -166,32 +166,32 @@ jobs:
166
166
java-version : 21
167
167
cache : sbt
168
168
169
- - name : Download target directories (2.12.19 )
169
+ - name : Download target directories (2.12.20 )
170
170
uses : actions/download-artifact@v4
171
171
with :
172
- name : target-${{ matrix.os }}-2.12.19 -${{ matrix.java }}
172
+ name : target-${{ matrix.os }}-2.12.20 -${{ matrix.java }}
173
173
174
- - name : Inflate target directories (2.12.19 )
174
+ - name : Inflate target directories (2.12.20 )
175
175
run : |
176
176
tar xf targets.tar
177
177
rm targets.tar
178
178
179
- - name : Download target directories (2.13.14 )
179
+ - name : Download target directories (2.13.16 )
180
180
uses : actions/download-artifact@v4
181
181
with :
182
- name : target-${{ matrix.os }}-2.13.14 -${{ matrix.java }}
182
+ name : target-${{ matrix.os }}-2.13.16 -${{ matrix.java }}
183
183
184
- - name : Inflate target directories (2.13.14 )
184
+ - name : Inflate target directories (2.13.16 )
185
185
run : |
186
186
tar xf targets.tar
187
187
rm targets.tar
188
188
189
- - name : Download target directories (3.3.3 )
189
+ - name : Download target directories (3.3.4 )
190
190
uses : actions/download-artifact@v4
191
191
with :
192
- name : target-${{ matrix.os }}-3.3.3 -${{ matrix.java }}
192
+ name : target-${{ matrix.os }}-3.3.4 -${{ matrix.java }}
193
193
194
- - name : Inflate target directories (3.3.3 )
194
+ - name : Inflate target directories (3.3.4 )
195
195
run : |
196
196
tar xf targets.tar
197
197
rm targets.tar
@@ -200,6 +200,10 @@ jobs:
200
200
with :
201
201
apps : sbt
202
202
203
+ - uses : coursier/setup-action@v1
204
+ with :
205
+ apps : sbt
206
+
203
207
- name : Release
204
208
env :
205
209
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
@@ -264,7 +268,7 @@ jobs:
264
268
strategy :
265
269
matrix :
266
270
os : [ubuntu-latest]
267
- scala : [2.13.14 ]
271
+ scala : [2.13.16 ]
268
272
java : [temurin@8]
269
273
runs-on : ${{ matrix.os }}
270
274
steps :
@@ -278,7 +282,7 @@ jobs:
278
282
279
283
- name : Add Scoverage
280
284
id : add_plugin
281
- run : sed -i -e '$aaddSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.12 ")' project/plugins.sbt
285
+ run : sed -i -e '$aaddSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.0 ")' project/plugins.sbt
282
286
283
287
- name : Update Build Definition
284
288
id : update_build_definition
@@ -300,7 +304,7 @@ jobs:
300
304
strategy :
301
305
matrix :
302
306
os : [ubuntu-latest]
303
- scala : [2.13.14 ]
307
+ scala : [2.13.16 ]
304
308
java : [temurin@8]
305
309
runs-on : ${{ matrix.os }}
306
310
steps :
@@ -338,7 +342,7 @@ jobs:
338
342
strategy :
339
343
matrix :
340
344
os : [ubuntu-latest]
341
- scala : [2.13.14 ]
345
+ scala : [2.13.16 ]
342
346
java : [temurin@8]
343
347
runs-on : ${{ matrix.os }}
344
348
steps :
@@ -376,7 +380,7 @@ jobs:
376
380
strategy :
377
381
matrix :
378
382
os : [ubuntu-latest]
379
- scala : [2.13.14 ]
383
+ scala : [2.13.16 ]
380
384
java : [temurin@8]
381
385
runs-on : ${{ matrix.os }}
382
386
steps :
@@ -414,7 +418,7 @@ jobs:
414
418
strategy :
415
419
matrix :
416
420
os : [ubuntu-latest]
417
- scala : [2.13.14 ]
421
+ scala : [2.13.16 ]
418
422
java : [temurin@8]
419
423
runs-on : ${{ matrix.os }}
420
424
steps :
@@ -452,7 +456,7 @@ jobs:
452
456
strategy :
453
457
matrix :
454
458
os : [ubuntu-latest]
455
- scala : [2.13.14 ]
459
+ scala : [2.13.16 ]
456
460
java : [temurin@8]
457
461
runs-on : ${{ matrix.os }}
458
462
steps :
@@ -490,7 +494,7 @@ jobs:
490
494
strategy :
491
495
matrix :
492
496
os : [ubuntu-latest]
493
- scala : [2.13.14 ]
497
+ scala : [2.13.16 ]
494
498
java : [temurin@8]
495
499
runs-on : ${{ matrix.os }}
496
500
steps :
@@ -528,7 +532,7 @@ jobs:
528
532
strategy :
529
533
matrix :
530
534
os : [ubuntu-latest]
531
- scala : [2.13.14 ]
535
+ scala : [2.13.16 ]
532
536
java : [temurin@8]
533
537
runs-on : ${{ matrix.os }}
534
538
steps :
@@ -566,7 +570,7 @@ jobs:
566
570
strategy :
567
571
matrix :
568
572
os : [ubuntu-latest]
569
- scala : [2.13.14 ]
573
+ scala : [2.13.16 ]
570
574
java : [temurin@8]
571
575
runs-on : ${{ matrix.os }}
572
576
steps :
@@ -604,7 +608,7 @@ jobs:
604
608
strategy :
605
609
matrix :
606
610
os : [ubuntu-latest]
607
- scala : [2.13.14 ]
611
+ scala : [2.13.16 ]
608
612
java : [temurin@8]
609
613
runs-on : ${{ matrix.os }}
610
614
steps :
@@ -636,13 +640,51 @@ jobs:
636
640
name : Jmh_Main_ProbeContentTypeBenchmark
637
641
path : Main_ProbeContentTypeBenchmark.txt
638
642
643
+ Jmh_RoundtripBenchmark :
644
+ name : Jmh RoundtripBenchmark
645
+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
646
+ strategy :
647
+ matrix :
648
+ os : [ubuntu-latest]
649
+ scala : [2.13.16]
650
+ java : [temurin@8]
651
+ runs-on : ${{ matrix.os }}
652
+ steps :
653
+ - uses : coursier/setup-action@v1
654
+ with :
655
+ apps : sbt
656
+
657
+ - uses : actions/checkout@v4
658
+ with :
659
+ path : zio-http
660
+
661
+ - uses : actions/setup-java@v4
662
+ with :
663
+ distribution : temurin
664
+ java-version : 11
665
+
666
+ - name : Benchmark_Main
667
+ id : Benchmark_Main
668
+ env :
669
+ GITHUB_TOKEN : ${{secrets.ACTIONS_PAT}}
670
+ run : |
671
+ cd zio-http
672
+ sed -i -e '$aaddSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")' project/plugins.sbt
673
+ cat > Main_RoundtripBenchmark.txt
674
+ sbt -no-colors -v "zioHttpBenchmarks/jmh:run -i 3 -wi 3 -f1 -t1 RoundtripBenchmark" | grep -e "thrpt" -e "avgt" >> ../Main_RoundtripBenchmark.txt
675
+
676
+ - uses : actions/upload-artifact@v4
677
+ with :
678
+ name : Jmh_Main_RoundtripBenchmark
679
+ path : Main_RoundtripBenchmark.txt
680
+
639
681
Jmh_RoutesBenchmark :
640
682
name : Jmh RoutesBenchmark
641
683
if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
642
684
strategy :
643
685
matrix :
644
686
os : [ubuntu-latest]
645
- scala : [2.13.14 ]
687
+ scala : [2.13.16 ]
646
688
java : [temurin@8]
647
689
runs-on : ${{ matrix.os }}
648
690
steps :
@@ -680,7 +722,7 @@ jobs:
680
722
strategy :
681
723
matrix :
682
724
os : [ubuntu-latest]
683
- scala : [2.13.14 ]
725
+ scala : [2.13.16 ]
684
726
java : [temurin@8]
685
727
runs-on : ${{ matrix.os }}
686
728
steps :
@@ -718,7 +760,7 @@ jobs:
718
760
strategy :
719
761
matrix :
720
762
os : [ubuntu-latest]
721
- scala : [2.13.14 ]
763
+ scala : [2.13.16 ]
722
764
java : [temurin@8]
723
765
runs-on : ${{ matrix.os }}
724
766
steps :
@@ -756,7 +798,7 @@ jobs:
756
798
strategy :
757
799
matrix :
758
800
os : [ubuntu-latest]
759
- scala : [2.13.14 ]
801
+ scala : [2.13.16 ]
760
802
java : [temurin@8]
761
803
runs-on : ${{ matrix.os }}
762
804
steps :
@@ -790,7 +832,7 @@ jobs:
790
832
791
833
Jmh_cache :
792
834
name : Cache Jmh benchmarks
793
- needs : [Jmh_CachedDateHeaderBenchmark, Jmh_ClientBenchmark, Jmh_CookieDecodeBenchmark, Jmh_EndpointBenchmark, Jmh_HttpCollectEval, Jmh_HttpCombineEval, Jmh_HttpNestedFlatMapEval, Jmh_HttpRouteTextPerf, Jmh_ProbeContentTypeBenchmark, Jmh_RoutesBenchmark, Jmh_SchemeDecodeBenchmark, Jmh_ServerInboundHandlerBenchmark, Jmh_UtilBenchmark]
835
+ needs : [Jmh_CachedDateHeaderBenchmark, Jmh_ClientBenchmark, Jmh_CookieDecodeBenchmark, Jmh_EndpointBenchmark, Jmh_HttpCollectEval, Jmh_HttpCombineEval, Jmh_HttpNestedFlatMapEval, Jmh_HttpRouteTextPerf, Jmh_ProbeContentTypeBenchmark, Jmh_RoundtripBenchmark, Jmh_RoutesBenchmark, Jmh_SchemeDecodeBenchmark, Jmh_ServerInboundHandlerBenchmark, Jmh_UtilBenchmark]
794
836
if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
795
837
strategy :
796
838
matrix :
@@ -862,6 +904,13 @@ jobs:
862
904
- name : Format_Main_ProbeContentTypeBenchmark
863
905
run : cat Main_ProbeContentTypeBenchmark.txt >> Main_benchmarks.txt
864
906
907
+ - uses : actions/download-artifact@v4
908
+ with :
909
+ name : Jmh_Main_RoundtripBenchmark
910
+
911
+ - name : Format_Main_RoundtripBenchmark
912
+ run : cat Main_RoundtripBenchmark.txt >> Main_benchmarks.txt
913
+
865
914
- uses : actions/download-artifact@v4
866
915
with :
867
916
name : Jmh_Main_RoutesBenchmark
@@ -915,7 +964,7 @@ jobs:
915
964
strategy :
916
965
matrix :
917
966
os : [ubuntu-latest]
918
- scala : [2.13.14 ]
967
+ scala : [2.13.16 ]
919
968
java : [temurin@8]
920
969
runs-on : ${{ matrix.os }}
921
970
steps :
@@ -994,7 +1043,7 @@ jobs:
994
1043
strategy :
995
1044
matrix :
996
1045
os : [ubuntu-latest]
997
- scala : [2.13.14 ]
1046
+ scala : [2.13.16 ]
998
1047
java : [temurin@8]
999
1048
runs-on : ${{ matrix.os }}
1000
1049
steps :
0 commit comments