Skip to content

Updates to latest LTS Java 21 and recent maven (#76) #86

Updates to latest LTS Java 21 and recent maven (#76)

Updates to latest LTS Java 21 and recent maven (#76) #86

Workflow file for this run

# yamllint --format github .github/workflows/test.yml
---
name: test
# We don't test documentation-only commits.
on:
# We run tests on non-tagged pushes to master that aren't a commit made by the release plugin
push:
tags: ''
branches: master
paths-ignore: '**/*.md'
# We also run tests on pull requests targeted at the master branch.
pull_request:
branches: master
paths-ignore: '**/*.md'
jobs:
test:
runs-on: ubuntu-20.04 # newest available distribution, aka focal
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 1 # only needed to get the sha label
# We can't cache Docker without using buildx because GH actions restricts /var/lib/docker
# That's ok because DOCKER_PARENT_IMAGE is always ghcr.io and local anyway.
- name: Test LTS JDK
run: build-bin/configure_test && build-bin/test 21.0.1_p12
- name: Test latest JDK
run: build-bin/configure_test && build-bin/test