Skip to content

Commit 2ba31d1

Browse files
committed
chore: 🤖 Do not run version policy check on release workflow
1 parent cc0b175 commit 2ba31d1

File tree

2 files changed

+38
-30
lines changed

2 files changed

+38
-30
lines changed

‎.github/workflows/build.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,3 @@ jobs:
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
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

0 commit comments

Comments
 (0)