Skip to content

Merge pull request #51 from allegro/if-else-validation #38

Merge pull request #51 from allegro/if-else-validation

Merge pull request #51 from allegro/if-else-validation #38

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- 'README.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17' ]
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- name: Setup Java ${{ matrix.Java }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'gradle'
- name: Test with Gradle
run: ./gradlew --no-daemon build
- name: Jacoco
run: ./gradlew jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1