Skip to content

feat: gradle workflow #4

feat: gradle workflow

feat: gradle workflow #4

Workflow file for this run

name: Java Gradle Build and Test
on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'corretto'
- name: Build with Gradle
run: ./gradlew build
- name: Run Tests
run: ./gradlew test