Bump actions/checkout from 3df4ab11eba7bda6032a0b82a6bb43b11571feac to b4ffde65f46336ab88eb53be808477a3936bae11 #33
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: CI Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_tests: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
java: [ '11', '17' ] | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Cache local Maven repository | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Checkout authn-simple | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.0.0 | |
- name: Run Build | |
run: mvn install -Dmaven.install.skip -DskipTests | |
- name: Run Unit Tests | |
run: mvn test -B |