File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This file was automatically generated by sbt-blowout and should not be edited manually.
22# Instead, run blowoutGenerate after making the desired changes to your build definition.
3- name : CI & CD
3+ name : CI
44' on ' :
55 push :
66 branches :
77 - main
8- env :
9- SBT_TPOLECAT_CI : ' true'
108jobs :
11- lint :
12- name : Fatal warnings and code formatting
9+ blowout :
10+ name : Blowout
1311 runs-on : ubuntu-latest
12+ env :
13+ SBT_TPOLECAT_DEV : ' true'
14+ needs : []
1415 steps :
1516 - name : Checkout
1617 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1720 - name : Setup Java JDK
1821 uses : actions/setup-java@v4
1922 with :
2023 cache : sbt
2124 distribution : temurin
22- java-version : ' 17'
23- - name : Workflows
24- run : sbt blowoutCheck
25- - name : Code formatting
26- run : sbt scalafmtCheckAll
27- - name : Fatal warnings
28- run : sbt scalafixAll
29- test :
30- name : Unit tests
25+ java-version : ' 21'
26+ - name : Setup sbt
27+ uses : sbt/setup-sbt@v1
28+ - run : sbt blowoutCheck
29+ scalafmt :
30+ name : Scalafmt
3131 runs-on : ubuntu-latest
32+ env :
33+ SBT_TPOLECAT_DEV : ' true'
34+ needs : []
3235 steps :
3336 - name : Checkout
3437 uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
3540 - name : Setup Java JDK
3641 uses : actions/setup-java@v4
3742 with :
3843 cache : sbt
3944 distribution : temurin
40- java-version : ' 17'
41- - run : sbt test
45+ java-version : ' 21'
46+ - name : Setup sbt
47+ uses : sbt/setup-sbt@v1
48+ - run : sbt scalafmtCheckAll
49+ scalafix :
50+ name : Scalafix
51+ runs-on : ubuntu-latest
52+ env :
53+ SBT_TPOLECAT_CI : ' true'
54+ needs : []
55+ steps :
56+ - name : Checkout
57+ uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
60+ - name : Setup Java JDK
61+ uses : actions/setup-java@v4
62+ with :
63+ cache : sbt
64+ distribution : temurin
65+ java-version : ' 21'
66+ - name : Setup sbt
67+ uses : sbt/setup-sbt@v1
68+ - run : sbt scalafixCheckAll
4269 deploy :
4370 name : Deploy
4471 runs-on : ubuntu-latest
72+ env :
73+ SBT_TPOLECAT_RELEASE : ' true'
4574 needs :
46- - lint
47- - test
75+ - blowout
76+ - scalafmt
77+ - scalafix
4878 steps :
4979 - name : Checkout
5080 uses : actions/checkout@v4
81+ with :
82+ fetch-depth : 0
5183 - name : Setup Java JDK
5284 uses : actions/setup-java@v4
5385 with :
5486 cache : sbt
5587 distribution : temurin
56- java-version : ' 17'
88+ java-version : ' 21'
89+ - name : Setup sbt
90+ uses : sbt/setup-sbt@v1
5791 - name : Release
5892 run : sbt ci-release
5993 env :
Original file line number Diff line number Diff line change @@ -5,37 +5,64 @@ name: CI
55 pull_request :
66 branches :
77 - main
8- env :
9- SBT_TPOLECAT_CI : ' true'
108jobs :
11- lint :
12- name : Fatal warnings and code formatting
9+ blowout :
10+ name : Blowout
1311 runs-on : ubuntu-latest
12+ env :
13+ SBT_TPOLECAT_DEV : ' true'
14+ needs : []
1415 steps :
1516 - name : Checkout
1617 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ - name : Setup Java JDK
21+ uses : actions/setup-java@v4
22+ with :
23+ cache : sbt
24+ distribution : temurin
25+ java-version : ' 21'
26+ - name : Setup sbt
27+ uses : sbt/setup-sbt@v1
28+ - run : sbt blowoutCheck
29+ scalafmt :
30+ name : Scalafmt
31+ runs-on : ubuntu-latest
32+ env :
33+ SBT_TPOLECAT_DEV : ' true'
34+ needs : []
35+ steps :
36+ - name : Checkout
37+ uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
1740 - name : Setup Java JDK
1841 uses : actions/setup-java@v4
1942 with :
2043 cache : sbt
2144 distribution : temurin
22- java-version : ' 17'
23- - name : Workflows
24- run : sbt blowoutCheck
25- - name : Code formatting
26- run : sbt scalafmtCheckAll
27- - name : Fatal warnings
28- run : sbt scalafixAll
29- test :
30- name : Unit tests
45+ java-version : ' 21'
46+ - name : Setup sbt
47+ uses : sbt/setup-sbt@v1
48+ - run : sbt scalafmtCheckAll
49+ scalafix :
50+ name : Scalafix
3151 runs-on : ubuntu-latest
52+ env :
53+ SBT_TPOLECAT_CI : ' true'
54+ needs : []
3255 steps :
3356 - name : Checkout
3457 uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
3560 - name : Setup Java JDK
3661 uses : actions/setup-java@v4
3762 with :
3863 cache : sbt
3964 distribution : temurin
40- java-version : ' 17'
41- - run : sbt test
65+ java-version : ' 21'
66+ - name : Setup sbt
67+ uses : sbt/setup-sbt@v1
68+ - run : sbt scalafixCheckAll
Original file line number Diff line number Diff line change @@ -5,55 +5,89 @@ name: CD
55 push :
66 tags :
77 - ' *.*.*'
8- env :
9- SBT_TPOLECAT_RELEASE : ' true'
108jobs :
11- lint :
12- name : Fatal warnings and code formatting
9+ blowout :
10+ name : Blowout
1311 runs-on : ubuntu-latest
12+ env :
13+ SBT_TPOLECAT_DEV : ' true'
14+ needs : []
1415 steps :
1516 - name : Checkout
1617 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1720 - name : Setup Java JDK
1821 uses : actions/setup-java@v4
1922 with :
2023 cache : sbt
2124 distribution : temurin
22- java-version : ' 17'
23- - name : Workflows
24- run : sbt blowoutCheck
25- - name : Code formatting
26- run : sbt scalafmtCheckAll
27- - name : Fatal warnings
28- run : sbt scalafixAll
29- test :
30- name : Unit tests
25+ java-version : ' 21'
26+ - name : Setup sbt
27+ uses : sbt/setup-sbt@v1
28+ - run : sbt blowoutCheck
29+ scalafmt :
30+ name : Scalafmt
3131 runs-on : ubuntu-latest
32+ env :
33+ SBT_TPOLECAT_DEV : ' true'
34+ needs : []
3235 steps :
3336 - name : Checkout
3437 uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
3540 - name : Setup Java JDK
3641 uses : actions/setup-java@v4
3742 with :
3843 cache : sbt
3944 distribution : temurin
40- java-version : ' 17'
41- - run : sbt test
45+ java-version : ' 21'
46+ - name : Setup sbt
47+ uses : sbt/setup-sbt@v1
48+ - run : sbt scalafmtCheckAll
49+ scalafix :
50+ name : Scalafix
51+ runs-on : ubuntu-latest
52+ env :
53+ SBT_TPOLECAT_CI : ' true'
54+ needs : []
55+ steps :
56+ - name : Checkout
57+ uses : actions/checkout@v4
58+ with :
59+ fetch-depth : 0
60+ - name : Setup Java JDK
61+ uses : actions/setup-java@v4
62+ with :
63+ cache : sbt
64+ distribution : temurin
65+ java-version : ' 21'
66+ - name : Setup sbt
67+ uses : sbt/setup-sbt@v1
68+ - run : sbt scalafixCheckAll
4269 deploy :
4370 name : Deploy
4471 runs-on : ubuntu-latest
72+ env :
73+ SBT_TPOLECAT_RELEASE : ' true'
4574 needs :
46- - lint
47- - test
75+ - blowout
76+ - scalafmt
77+ - scalafix
4878 steps :
4979 - name : Checkout
5080 uses : actions/checkout@v4
81+ with :
82+ fetch-depth : 0
5183 - name : Setup Java JDK
5284 uses : actions/setup-java@v4
5385 with :
5486 cache : sbt
5587 distribution : temurin
56- java-version : ' 17'
88+ java-version : ' 21'
89+ - name : Setup sbt
90+ uses : sbt/setup-sbt@v1
5791 - name : Release
5892 run : sbt ci-release
5993 env :
You can’t perform that action at this time.
0 commit comments