Skip to content

FMWK-546 Refactor repository query tests #1816

FMWK-546 Refactor repository query tests

FMWK-546 Refactor repository query tests #1816

Workflow file for this run

name: Build project
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout repo using https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.8
# See: https://github.com/actions/cache/blob/main/examples.md#java---maven
- name: Maven cache and restore deps
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean test -B -U