2024 - Day 08 - refactored to use generateSequence AND adjusted calc … #362
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: Java CI | |
env: | |
RUN_FROM: GHA | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 22 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '22' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build with Maven | |
run: ./mvnw --batch-mode --update-snapshots -DskipTests package | |
- name: Test | |
run: ./mvnw test --batch-mode --fail-at-end | |
- name: Publish Test Report | |
if: success() || failure() | |
uses: scacap/action-surefire-report@v1 |