Skip to content

Commit fe782a1

Browse files
authored
Merge pull request #298 from ulitol97/master
Solve issues in #297 and fix a schema conversion issue
2 parents 81ab97a + 5d6b7fa commit fe782a1

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

Diff for: .github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest]
25-
scala: [2.13.6]
25+
scala: [2.13.8]
2626
2727
runs-on: ${{ matrix.os }}
2828
steps:
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
matrix:
7272
os: [ubuntu-latest]
73-
scala: [2.13.6]
73+
scala: [2.13.8]
7474
7575
runs-on: ${{ matrix.os }}
7676
steps:
@@ -96,12 +96,12 @@ jobs:
9696
~/Library/Caches/Coursier/v1
9797
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
9898

99-
- name: Download target directories (2.13.6)
99+
- name: Download target directories (2.13.8)
100100
uses: actions/download-artifact@v2
101101
with:
102-
name: target-${{ matrix.os }}-2.13.6-${{ matrix.java }}
102+
name: target-${{ matrix.os }}-2.13.8-${{ matrix.java }}
103103

104-
- name: Inflate target directories (2.13.6)
104+
- name: Inflate target directories (2.13.8)
105105
run: |
106106
tar xf targets.tar
107107
rm targets.tar

Diff for: build.sbt

+11-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Global / cancelable := true
88
Global / apiURL := Some(url("https://github.com/weso/rdfshape-api"))
99
Global / scalaVersion := scala213
1010

11-
lazy val scala212 = "2.12.13"
12-
lazy val scala213 = "2.13.6"
11+
lazy val scala212 = "2.12.15"
12+
lazy val scala213 = "2.13.8"
1313
lazy val supportedScalaVersions = List(scala213)
1414

1515
// Lint-excluded keys
@@ -239,6 +239,11 @@ lazy val rdfshape = project
239239
libraryDependencies ++= Seq(
240240
logbackClassic,
241241
scalaLogging
242+
),
243+
excludeDependencies ++= Seq(
244+
// Exclude slf4j backend if present in other dependencies to avoid
245+
// warnings/conflicts with logback
246+
ExclusionRule("org.slf4j", "slf4j-simple")
242247
)
243248
)
244249
// Server project in /modules: server
@@ -283,7 +288,7 @@ lazy val server = project
283288

284289
// "sbt-github-actions" plugin settings
285290
lazy val JavaCIVersion = "[email protected]"
286-
lazy val ScalaCIVersion = "2.13.6"
291+
lazy val ScalaCIVersion = scala213
287292
ThisBuild / githubWorkflowJavaVersions := Seq(JavaCIVersion)
288293
ThisBuild / githubWorkflowScalaVersions := Seq(ScalaCIVersion)
289294

@@ -320,10 +325,10 @@ lazy val munitEffectVersion = "1.0.7"
320325
lazy val plantumlVersion = "1.2021.14"
321326
lazy val scalajVersion = "2.4.2"
322327
// WESO dependencies
323-
lazy val shaclexVersion = "0.1.103-ult_0"
324-
lazy val shexsVersion = "0.1.108-ult_0"
328+
lazy val shaclexVersion = "0.2.0"
329+
lazy val shexsVersion = "0.2.0"
325330
lazy val umlShaclexVersion = "0.0.82"
326-
lazy val wesoUtilsVersion = "0.2.2"
331+
lazy val wesoUtilsVersion = "0.2.4"
327332
// Dependency modules
328333
lazy val http4sDsl = "org.http4s" %% "http4s-dsl" % http4sVersion
329334
lazy val http4sBlazeServer =

Diff for: modules/server/src/main/scala/es/weso/rdfshape/server/api/routes/schema/logic/operations/SchemaConvert.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private[api] object SchemaConvert extends LazyLogging {
150150
content = rawOutputSchema.trim,
151151
format = targetFormat,
152152
engine = schemaOut,
153-
source = inputSchema.source
153+
source = SchemaSource.TEXT
154154
)
155155
} yield SchemaConvert(
156156
inputSchema = inputSchema,

Diff for: version.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "0.2.3"
1+
ThisBuild / version := "0.2.4"

0 commit comments

Comments
 (0)