mirage22 is robo4j runner #29
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: robo4j-verification | |
run-name: ${{ github.actor }} is robo4j runner | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'feature/**' | |
jobs: | |
robo4j-install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Java 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
java-package: 'jdk' | |
mvn-toolchain-id: 'JavaSE-21' | |
- name: Setup Maven | |
uses: stCarolas/[email protected] | |
with: | |
maven-version: '3.9.6' | |
- name: Cache Maven local | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-robo4j-maven | |
- name: Build and test | |
run: mvn install |