Skip to content

Bump actions/checkout from 4.0.0 to 4.1.0 #29

Bump actions/checkout from 4.0.0 to 4.1.0

Bump actions/checkout from 4.0.0 to 4.1.0 #29

Workflow file for this run

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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Run Build
run: mvn install -Dmaven.install.skip -DskipTests
- name: Run Unit Tests
run: mvn test -B