Skip to content

Commit 4d6c3e1

Browse files
authored
Re-introduce ant precommit github action in 8x branch (#2503)
1 parent 4bbf239 commit 4d6c3e1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ant.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Ant precommit
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'branch_8x'
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up JDK 1.8
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 1.8
18+
19+
- name: Cache Ivy packages
20+
uses: actions/cache@v2
21+
with:
22+
path: ~/.ivy2/cache/
23+
key: ${{ runner.os }}-ant-precommit-${{ hashFiles('**/ivy-versions.properties') }}
24+
restore-keys: |
25+
${{ runner.os }}-ant-precommit-
26+
${{ runner.os }}-ant-
27+
28+
- name: Ivy bootstrap
29+
run: ant ivy-bootstrap
30+
31+
- name: Precommit
32+
run: ant precommit

0 commit comments

Comments
 (0)