Skip to content

Commit

Permalink
upgrade build (#262)
Browse files Browse the repository at this point in the history
* upgrade build

* Update build-test.yml
  • Loading branch information
pjfanning authored Apr 6, 2024
1 parent e9bb477 commit 31bc516
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 25 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
strategy:
fail-fast: false
matrix:
SCALA_VERSION: [2.12.18, 2.13.12, 3.3.1]
JAVA_VERSION: [8, 11]
SCALA_VERSION: [2.12.19, 2.13.13, 3.3.3]
JAVA_VERSION: [8, 11, 17]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -84,6 +84,7 @@ jobs:

- name: Compile and test for JDK ${{ matrix.JAVA_VERSION }}, Scala ${{ matrix.SCALA_VERSION }}
run: |-
cp .jvmopts-ci .jvmopts
sbt ++${{ matrix.SCALA_VERSION }} test
sbt ++${{ matrix.SCALA_VERSION }}! codegen/test
Expand Down Expand Up @@ -148,7 +149,7 @@ jobs:
cat ~/.version
- name: Cache local Gradle repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down Expand Up @@ -204,7 +205,7 @@ jobs:
cat ~/.version
- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('plugin-tester-*/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-1.0-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
run: |-
cp .jvmopts-ci .jvmopts
sbt +publish
sbt ++2.13.12! codegen/publish
sbt ++3.3.1! codegen/publish
sbt ++2.13.13! codegen/publish
sbt ++3.3.3! codegen/publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
run: |-
cp .jvmopts-ci .jvmopts
sbt +publish
sbt ++2.13.12! codegen/publish
sbt ++3.3.1! codegen/publish
sbt ++2.13.13! codegen/publish
sbt ++3.3.3! codegen/publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}
Expand Down
2 changes: 1 addition & 1 deletion plugin-tester-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
mavenLocal()
}

def scalaFullVersion = "2.12.18"
def scalaFullVersion = "2.12.19"
def scalaVersion = org.gradle.util.VersionNumber.parse(scalaFullVersion)
def scalaBinaryVersion = "${scalaVersion.major}.${scalaVersion.minor}"

Expand Down
2 changes: 1 addition & 1 deletion plugin-tester-scala/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
mavenLocal()
}

def scalaFullVersion = "2.12.18"
def scalaFullVersion = "2.12.19"
def scalaVersion = org.gradle.util.VersionNumber.parse(scalaFullVersion)
def scalaBinaryVersion = "${scalaVersion.major}.${scalaVersion.minor}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

organization := "org.apache.pekko"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

scalacOptions += "-Xfatal-warnings"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(ProtocGoPlugin) // enable it first to test possibility of getting overriden

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

enablePlugins(PekkoGrpcPlugin)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Can be removed when we move to 2.12.14
// https://github.com/akka/akka-grpc/pull/1279
scalaVersion := "2.12.18"
scalaVersion := "2.12.19"

//#setup
import scalapb.GeneratorOption._
Expand Down

0 comments on commit 31bc516

Please sign in to comment.