Skip to content

Use AssertJ (#2)

Use AssertJ (#2) #4

Workflow file for this run

name: Java
on:
push:
branches: [ "main" ]
paths:
- java/**
pull_request:
branches: [ "main" ]
paths:
- java/**
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle
- name: Build
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a
with:
arguments: build
build-root-directory: java