File tree Expand file tree Collapse file tree 2 files changed +38
-30
lines changed Expand file tree Collapse file tree 2 files changed +38
-30
lines changed Original file line number Diff line number Diff line change 4343 - name : Run tests
4444 run : sbt +compile +test
4545
46- versionpolicycheck :
47- name : Version policy check
48- strategy :
49- fail-fast : false
50- matrix :
51- os : [ ubuntu-latest ]
52- java :
53- - 11
54- runs-on : ${{ matrix.os }}
55- steps :
56-
57- - uses : actions/checkout@v3
58-
59- - name : Cache sbt
60- uses : actions/cache@v2
61- with :
62- path : |
63- ~/.sbt
64- ~/.ivy2/cache
65- ~/.cache/coursier
66- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
67-
68- - name : Set up JDK
69- uses : actions/setup-java@v2
70- with :
71- java-version : ${{ matrix.java }}
72- distribution : ' adopt'
73-
74- - name : Version check
75- run : sbt "project cucumberScala" versionPolicyCheck
Original file line number Diff line number Diff line change 1+ name : Version policy check
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ versionpolicycheck :
10+ name : Version policy check
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os : [ ubuntu-latest ]
15+ java :
16+ - 11
17+ runs-on : ${{ matrix.os }}
18+ steps :
19+
20+ - uses : actions/checkout@v3
21+
22+ - name : Cache sbt
23+ uses : actions/cache@v2
24+ with :
25+ path : |
26+ ~/.sbt
27+ ~/.ivy2/cache
28+ ~/.cache/coursier
29+ key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
30+
31+ - name : Set up JDK
32+ uses : actions/setup-java@v2
33+ with :
34+ java-version : ${{ matrix.java }}
35+ distribution : ' adopt'
36+
37+ - name : Version check
38+ run : sbt "project cucumberScala" versionPolicyCheck
You can’t perform that action at this time.
0 commit comments