Skip to content

Merge pull request #21 from ilya40umov/dependabot/gradle/kotestVersio… #51

Merge pull request #21 from ilya40umov/dependabot/gradle/kotestVersio…

Merge pull request #21 from ilya40umov/dependabot/gradle/kotestVersio… #51

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
pull-requests: write
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build
run: ./gradlew clean build
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'