Skip to content

Bump org.codehaus.groovy:groovy-all from 2.0.8 to 2.4.21 in /mimir-test #2

Bump org.codehaus.groovy:groovy-all from 2.0.8 to 2.4.21 in /mimir-test

Bump org.codehaus.groovy:groovy-all from 2.0.8 to 2.4.21 in /mimir-test #2

Workflow file for this run

name: CI (Pull Request)
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
cache: maven
- name: Save Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Override http://repo.gate.ac.uk to use https:// instead
- name: Configure Maven settings
uses: whelk-io/maven-settings-xml-action@v20
with:
mirrors: >
[
{
"id": "gate.ac.uk-https",
"name": "GATE repo (secure)",
"mirrorOf": "gate.ac.uk",
"url": "https://repo.gate.ac.uk/content/groups/public/"
}
]
repositories: >
[
{
"id": "central",
"name": "Maven Central",
"url": "https://repo1.maven.org/maven2",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "false"
}
}
]
plugin_repositories: >
[
{
"id": "central",
"name": "Maven Central",
"url": "https://repo1.maven.org/maven2",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "false"
}
}
]
- name: Build core components with Maven
run: mvn --batch-mode -e clean install
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
if: success() || failure()
with:
fail_if_no_tests: false
- name: Build mimir-cloud with Gradle
working-directory: webapp/mimir-cloud
run: |
./gradlew --console=plain runCommand -Pargs=cache-mimir-plugins
./gradlew --console=plain assemble
- name: Build site
run: mvn --batch-mode -e -DskipTests site site:stage
# We want to avoid cacheing -SNAPSHOT dependencies from our local maven
# cache, to ensure that we always go out and check for them again at the
# next build in case they have changed.
- name: Delete snapshots from m2 repository
if: always()
run: |
find ~/.m2/repository -name \*-SNAPSHOT -type d -exec rm -rf {} \+ || :