@@ -8,25 +8,26 @@ val scoptVersion = "4.0.0"
88val slf4jVersion = " 1.7.30"
99val utestVersion = " 0.7.7"
1010
11- val checkTasks = List (
12- " scalafmtCheckAll" ,
13- " scalastyle" ,
14- " versionPolicyCheck" ,
15- " githubWorkflowCheck" ,
16- " mdocCheck" ,
17- " evicted" ,
18- " undeclaredCompileDependenciesTest" ,
19- " unusedCompileDependenciesTest" ,
20- " dependencyCheckAggregate" ,
21- " test" ,
22- " scripted"
11+ addCommandAlias(
12+ " devCheck" ,
13+ supportedScalaVersions.flatMap { version =>
14+ s " ++ $version" :: " check" :: (if (version == scala213) Nil else List (" scripted" ))
15+ }.mkString(" ;" )
2316)
2417
2518addCommandAlias(
2619 " check" ,
27- supportedScalaVersions.flatMap { version =>
28- s " ++ $version" :: checkTasks.filterNot(_ == " scripted" && version == scala213)
29- }.mkString(" ; " )
20+ List (
21+ " scalafmtCheckAll" ,
22+ " scalastyle" ,
23+ " versionPolicyCheck" ,
24+ " mdocCheck" ,
25+ " evicted" ,
26+ " undeclaredCompileDependenciesTest" ,
27+ " unusedCompileDependenciesTest" ,
28+ " dependencyCheckAggregate" ,
29+ " test"
30+ ).mkString(" ;" )
3031)
3132
3233addCommandAlias(
@@ -58,19 +59,7 @@ inThisBuild(
5859 organization := " nz.co.bottech" ,
5960 organizationName := " BotTech" ,
6061 githubWorkflowBuild := List (
61- WorkflowStep .Sbt (List (" scalafmtCheckAll" , " scalastyle" ), name = Some (" Check formatting and style" )),
62- WorkflowStep .Sbt (List (" versionPolicyCheck" ), name = Some (" Check version adheres to the policy" )),
63- WorkflowStep .Sbt (List (" mdocCheck" ), name = Some (" Check documentation has been generated" )),
64- WorkflowStep .Sbt (
65- List (
66- " evicted" ,
67- " undeclaredCompileDependenciesTest" ,
68- " unusedCompileDependenciesTest" ,
69- " dependencyCheckAggregate"
70- ),
71- name = Some (" Check dependencies" )
72- ),
73- WorkflowStep .Sbt (List (" test" ), name = Some (" Build and test" )),
62+ WorkflowStep .Sbt (List (" check" ), name = Some (" Build, test and check libraries" )),
7463 WorkflowStep .Sbt (
7564 List (" scripted" ),
7665 name = Some (" Build and test sbt plugin" ),
0 commit comments