DCA11Y-1145: Dev metrics - Execution time #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: "Run build" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Use cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: "${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}" | |
restore-keys: | | |
${{ runner.os }}-maven3- | |
- name: Configure Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "11" | |
distribution: temurin | |
- name: "Run Maven" | |
shell: bash | |
run: mvn clean install --batch-mode -PintegrationTests |