Skip to content

Remove redundant jackson-core override from example app #137

Remove redundant jackson-core override from example app

Remove redundant jackson-core override from example app #137

Workflow file for this run

name: Build and Test with Maven
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
name: Java CI - test
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [8, 11, 17, 21]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Set up Java
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
- name: Inject dummy example config
working-directory: duo-example
run: printf "duo.clientId=DIAAAAAAAAAAAAAAAAAA\nduo.clientSecret=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nduo.api.host=example.duosecurity.com\nduo.redirect.uri=http://localhost:8080\nduo.failmode=CLOSED\n" > ./src/main/resources/application.properties
- name: Build and test with Maven
run: mvn -B install
- name: Lint with checkstyle
run: mvn checkstyle:check
- name: Verify example starts
working-directory: duo-example
run: mvn spring-boot:start
- name: Verify release profile works
run: mvn -P release package