Skip to content

Merge pull request #305 from groovy/updates #348

Merge pull request #305 from groovy/updates

Merge pull request #305 from groovy/updates #348

Workflow file for this run

name: GitHub CI
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
MAVEN_OPTS: '-Xms2048m -Xmx2048m'
MAVEN_ARGS: >-
--show-version
--errors
--batch-mode
--no-transfer-progress
-Dinvoker.streamLogsOnFailures=true
defaults:
run:
shell: 'bash -o errexit -o nounset -o pipefail {0}'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
groovy-version:
- 2.5.23
- 3.0.21
- 4.0.21
- 5.0.0-alpha-8
env:
MVN_GROOVY_GROUP_ID: ${{format('{0}{1}', '-DgroovyVersion=', matrix.groovy-version)}}
MVN_GROOVY_VERSION: ${{(startsWith(matrix.groovy-version, '2') || startsWith(matrix.groovy-version, '3')) && '-DgroovyGroupId=org.codehaus.groovy' || '-DgroovyGroupId=org.apache.groovy'}}
steps:
- name: checkout
uses: actions/checkout@v4
- name: jdk setup
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: full test
run: >-
./mvnw ${MAVEN_ARGS} ${MVN_GROOVY_GROUP_ID} ${MVN_GROOVY_VERSION}
clean install invoker:install invoker:run