Skip to content

Retract sameAs for union catalogues #2365 #2561

Retract sameAs for union catalogues #2365

Retract sameAs for union catalogues #2365 #2561

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_OPTS: "-Xmx768M"
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Install metafacture-core-snapshots
run: |
cd ..
git clone https://github.com/metafacture/metafacture-core.git
cd metafacture-core
git checkout -b f2cf79da098258a2bc034da6bf7178f704fb5db4
git reset --hard f2cf79da098258a2bc034da6bf7178f704fb5db4
./gradlew publishToMavenLocal
cd -
- name: Build with Maven
run: |
mvn install
mvn editorconfig:check
- name: Install the JSON Schema CLI
uses: sourcemeta/jsonschema@v15.11.0
- name: Validate Test Json Output with jsonschema
run: |
cd src/test/resources/
bash validateJsonTestFiles.sh
cd -
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.11.5
- name: Cache SBT
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Build and Test with play
run: |
cd web
sbt --java-home $JAVA_HOME test