Skip to content

Commit ea9a2d1

Browse files
author
Yasuyuki Takeo
committed
Add groovy and fix github action
1 parent 0a899d3 commit ea9a2d1

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,24 @@ jobs:
55
strategy:
66
matrix:
77
os: [macos-latest, windows-latest]
8-
java: [1.8]
8+
java: [8]
99
runs-on: ${{ matrix.os }}
1010
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-java@v1
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-java@v2
1313
with:
1414
java-version: ${{ matrix.java }}
15-
- uses: eskatos/gradle-command-action@v1
15+
distribution: 'adopt'
16+
cache: gradle
17+
- name: run test
18+
uses: eskatos/gradle-command-action@v1
1619
with:
17-
arguments: check
20+
arguments: test
1821
- name: Generate Coveralls Test Report
1922
run: ./gradlew jacocoTestReport coveralls
2023
env:
2124
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
2225
CI_NAME: Github Actions
2326
CI_BRANCH: ${{github.ref}}
2427
CI_PULL_REQUEST: ${{github.event.pull_request.html_url}}
25-
2628

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ dependencies {
6363
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.12.+'
6464
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.+'
6565
implementation 'joda-time:joda-time:2.10.+'
66+
implementation 'org.codehaus.groovy:groovy-all:3.0.9'
6667

6768
implementation group: 'org.antlr', name: 'antlr4', version: '4.8-1'
6869
implementation group: 'org.antlr', name: 'antlr4-runtime', version: '4.8-1'

0 commit comments

Comments
 (0)