Skip to content

Merge pull request #4 from harveymmaunders/java-actions #1

Merge pull request #4 from harveymmaunders/java-actions

Merge pull request #4 from harveymmaunders/java-actions #1

Workflow file for this run

defaults:
run:
working-directory: ./client-samples/java/rest
name: Java CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle Build
run: ./gradlew build
- name: Gradle Test
run: ./gradlew test