Skip to content

Merge pull request #156 from nulab/using-checkstyle #93

Merge pull request #156 from nulab/using-checkstyle

Merge pull request #156 from nulab/using-checkstyle #93

Workflow file for this run

name: Build
on:
[push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [
# '8', Refs: https://github.com/nulab/zxcvbn4j/pull/104
'11',
# '17' Refs: https://github.com/nulab/zxcvbn4j/issues/118
]
fail-fast: false
name: Build and test on JDK ${{ matrix.Java }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'gradle'
- name: Run gradle
run: ./gradlew jacocoTestReport coveralls publishToMavenLocal --no-daemon
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}