Skip to content

build-and-unit-tests #47

build-and-unit-tests

build-and-unit-tests #47

name: build-and-unit-tests
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ '**' ]
schedule:
- cron: '0 5 * * SUN'
workflow_dispatch:
jobs:
build:
runs-on: [ 'ubuntu-24.04' ]
steps:
- uses: actions/[email protected]
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: |
chmod +x gradlew && ./gradlew build
- name: Unit test report
uses: asadmansr/[email protected]
if: ${{ always() }}