This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Update dependency com.jcabi:parent to v0.68.0 #198
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: maven | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Build | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, macos-12, windows-2022 ] | |
java: [ 17, 20 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-jdk-${{ matrix.java }}-maven- | |
- run: mvn clean install -DskipITs --errors --batch-mode | |
it-test: | |
name: Build Integrations | |
strategy: | |
matrix: | |
os-integration: [ubuntu-20.04] | |
java: [17] | |
runs-on: ${{ matrix.os-integration }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- uses: docker-practice/actions-setup-docker@master | |
timeout-minutes: 12 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-jdk-${{ matrix.java }}-maven- | |
- run: mvn clean install --errors --batch-mode |