File tree Expand file tree Collapse file tree 4 files changed +26
-26
lines changed
Expand file tree Collapse file tree 4 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1820 - name : Setup Java JDK
1921 uses : actions/setup-java@v4
2022 with :
2325 java-version : ' 21'
2426 - name : Setup sbt
2527 uses : sbt/setup-sbt@v1
26- with :
27- fetch-depth : ' 0'
2828 - run : sbt blowoutCheck
2929 scalafmt :
3030 name : Scalafmt
3535 steps :
3636 - name : Checkout
3737 uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
3840 - name : Setup Java JDK
3941 uses : actions/setup-java@v4
4042 with :
4345 java-version : ' 21'
4446 - name : Setup sbt
4547 uses : sbt/setup-sbt@v1
46- with :
47- fetch-depth : ' 0'
4848 - run : sbt scalafmtCheckAll
4949 scalafix :
5050 name : Scalafix
5555 steps :
5656 - name : Checkout
5757 uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
5860 - name : Setup Java JDK
5961 uses : actions/setup-java@v4
6062 with :
6365 java-version : ' 21'
6466 - name : Setup sbt
6567 uses : sbt/setup-sbt@v1
66- with :
67- fetch-depth : ' 0'
6868 - run : sbt scalafixAll
6969 deploy :
7070 name : Deploy
7878 steps :
7979 - name : Checkout
8080 uses : actions/checkout@v4
81+ with :
82+ fetch-depth : 0
8183 - name : Setup Java JDK
8284 uses : actions/setup-java@v4
8385 with :
8688 java-version : ' 21'
8789 - name : Setup sbt
8890 uses : sbt/setup-sbt@v1
89- with :
90- fetch-depth : ' 0'
9191 - name : Release
9292 run : sbt ci-release
9393 env :
Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1820 - name : Setup Java JDK
1921 uses : actions/setup-java@v4
2022 with :
2325 java-version : ' 21'
2426 - name : Setup sbt
2527 uses : sbt/setup-sbt@v1
26- with :
27- fetch-depth : ' 0'
2828 - run : sbt blowoutCheck
2929 scalafmt :
3030 name : Scalafmt
3535 steps :
3636 - name : Checkout
3737 uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
3840 - name : Setup Java JDK
3941 uses : actions/setup-java@v4
4042 with :
4345 java-version : ' 21'
4446 - name : Setup sbt
4547 uses : sbt/setup-sbt@v1
46- with :
47- fetch-depth : ' 0'
4848 - run : sbt scalafmtCheckAll
4949 scalafix :
5050 name : Scalafix
5555 steps :
5656 - name : Checkout
5757 uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
5860 - name : Setup Java JDK
5961 uses : actions/setup-java@v4
6062 with :
6365 java-version : ' 21'
6466 - name : Setup sbt
6567 uses : sbt/setup-sbt@v1
66- with :
67- fetch-depth : ' 0'
6868 - run : sbt scalafixAll
Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1820 - name : Setup Java JDK
1921 uses : actions/setup-java@v4
2022 with :
2325 java-version : ' 21'
2426 - name : Setup sbt
2527 uses : sbt/setup-sbt@v1
26- with :
27- fetch-depth : ' 0'
2828 - run : sbt blowoutCheck
2929 scalafmt :
3030 name : Scalafmt
3535 steps :
3636 - name : Checkout
3737 uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
3840 - name : Setup Java JDK
3941 uses : actions/setup-java@v4
4042 with :
4345 java-version : ' 21'
4446 - name : Setup sbt
4547 uses : sbt/setup-sbt@v1
46- with :
47- fetch-depth : ' 0'
4848 - run : sbt scalafmtCheckAll
4949 scalafix :
5050 name : Scalafix
5555 steps :
5656 - name : Checkout
5757 uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
5860 - name : Setup Java JDK
5961 uses : actions/setup-java@v4
6062 with :
6365 java-version : ' 21'
6466 - name : Setup sbt
6567 uses : sbt/setup-sbt@v1
66- with :
67- fetch-depth : ' 0'
6868 - run : sbt scalafixAll
6969 deploy :
7070 name : Deploy
7878 steps :
7979 - name : Checkout
8080 uses : actions/checkout@v4
81+ with :
82+ fetch-depth : 0
8183 - name : Setup Java JDK
8284 uses : actions/setup-java@v4
8385 with :
8688 java-version : ' 21'
8789 - name : Setup sbt
8890 uses : sbt/setup-sbt@v1
89- with :
90- fetch-depth : ' 0'
9191 - name : Release
9292 run : sbt ci-release
9393 env :
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ object GitHubActionsGenerator {
1616 val SetupSbt : Json = Json .obj(
1717 " name" := " Setup sbt" ,
1818 " uses" := " sbt/setup-sbt@v1" ,
19- " with" := Json .obj(
20- " fetch-depth" := " 0"
21- )
2219 )
2320
2421 val Checkout : Json = Json .obj(
2522 " name" := " Checkout" ,
26- " uses" := " actions/checkout@v4"
23+ " uses" := " actions/checkout@v4" ,
24+ " with" := Json .obj(
25+ " fetch-depth" := 0
26+ )
2727 )
2828 }
2929
You can’t perform that action at this time.
0 commit comments