Skip to content

Commit

Permalink
Add groovy and fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasuyuki Takeo committed Oct 7, 2021
1 parent 0a899d3 commit a9f42f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,25 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
java: [1.8]
java: [8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
- uses: eskatos/gradle-command-action@v1
distribution: 'adopt'
cache: gradle
- name: run test
uses: gradle/gradle-build-action@v2
with:
arguments: check
gradle-version: 7.2
arguments: build
- name: Generate Coveralls Test Report
run: ./gradlew jacocoTestReport coveralls
env:
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
CI_NAME: Github Actions
CI_BRANCH: ${{github.ref}}
CI_PULL_REQUEST: ${{github.event.pull_request.html_url}}


1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ dependencies {
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.12.+'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.+'
implementation 'joda-time:joda-time:2.10.+'
implementation 'org.codehaus.groovy:groovy-all:3.0.9'

implementation group: 'org.antlr', name: 'antlr4', version: '4.8-1'
implementation group: 'org.antlr', name: 'antlr4-runtime', version: '4.8-1'
Expand Down

0 comments on commit a9f42f6

Please sign in to comment.