Skip to content

PD-45855: Add workflows for builds in github actions #6

PD-45855: Add workflows for builds in github actions

PD-45855: Add workflows for builds in github actions #6

Workflow file for this run

name: Run tests on branch
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Test package
run: mvn verify