File tree Expand file tree Collapse file tree 3 files changed +43
-19
lines changed Expand file tree Collapse file tree 3 files changed +43
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Cucumber Scala CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ name : Build and test
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ ubuntu-latest ]
15
+ java :
16
+ - 1.8
17
+ - 11
18
+ runs-on : ${{ matrix.os }}
19
+ steps :
20
+
21
+ - uses : actions/checkout@v2
22
+
23
+ - name : Cache sbt
24
+ uses : actions/cache@v2
25
+ with :
26
+ path : |
27
+ ~/.sbt
28
+ ~/.ivy2/cache
29
+ ~/.cache/coursier
30
+ key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
31
+
32
+ - name : Set up JDK 1.8
33
+ uses : actions/setup-java@v1
34
+ with :
35
+ java-version : ${{ matrix.java }}
36
+
37
+ - name : Formatting check
38
+ run : sbt scalafmtCheckAll
39
+
40
+ - name : Run tests
41
+ run : sbt +compile +test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ See also the [CHANGELOG](https://github.com/cucumber/cucumber-jvm/blob/master/CH
13
13
14
14
### Changed
15
15
16
+ - [ Build] Use Github Actions instead of Travis CI
17
+
16
18
### Deprecated
17
19
18
20
### Removed
You can’t perform that action at this time.
0 commit comments