Skip to content

Issue #7: Update site #943

Issue #7: Update site

Issue #7: Update site #943

Workflow file for this run

name: GitHub Action CI build
on:
push:
# branches-ignore:
# - dependabot/**
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java: [17, 21, 23]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configura artifact caching
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: ./mvnw -e -B -V -ntp clean package
- name: Code coverage with codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}