Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 0e8c65e

Browse files
authored
Merge pull request #34 from scala/bye-bye-travis-ci
2 parents 177a681 + c941f46 commit 0e8c65e

File tree

5 files changed

+31
-20
lines changed

5 files changed

+31
-20
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
pull_request:
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
java: [8, 11, 17]
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- uses: coursier/cache-action@v6
19+
- uses: actions/setup-java@v2
20+
with:
21+
distribution: temurin
22+
java-version: ${{matrix.java}}
23+
- name: Test
24+
run: sbt -Dfile.encoding=UTF8 compilerInterface/headerCheck jvmfmtCheck dummyBridge/test doc

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ lazy val compilerInterface = (project in file("compiler-interface"))
6060
commonSettings,
6161
name := "Compiler Interface",
6262
scalaVersion := scala212,
63-
managedSourceDirectories in Compile +=
63+
Compile / managedSourceDirectories +=
6464
baseDirectory.value / "src" / "main" / "contraband-java",
65-
sourceManaged in (Compile, generateContrabands) := baseDirectory.value / "src" / "main" / "contraband-java",
65+
Compile / generateContrabands / sourceManaged := baseDirectory.value / "src" / "main" / "contraband-java",
6666
crossPaths := false,
6767
autoScalaLibrary := false,
6868
mimaPreviousArtifacts := Set(
@@ -104,9 +104,9 @@ lazy val dummyApiInfo = (project in file("dummy-apiinfo"))
104104
.dependsOn(compilerInterface)
105105
.settings(
106106
scalaVersion := scala212,
107-
managedSourceDirectories in Compile +=
107+
Compile / managedSourceDirectories +=
108108
baseDirectory.value / "src" / "main" / "contraband-java",
109-
sourceManaged in (Compile, generateContrabands) := baseDirectory.value / "src" / "main" / "contraband-java",
109+
Compile / generateContrabands / sourceManaged := baseDirectory.value / "src" / "main" / "contraband-java",
110110
crossPaths := false,
111111
autoScalaLibrary := false,
112112
publish / skip := true,

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.8
1+
sbt.version=1.6.2

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.4.1")
2-
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.6.4")
1+
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.5.3")
2+
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.0.1")
33
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.4.0")
44
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.3.0")
55
addSbtPlugin("com.swoval" % "sbt-jvm-format" % "0.3.1")

0 commit comments

Comments
 (0)