Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scala3-library to 3.1.0 #71

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ pull_request_rules:
- body~=labels:.*semver-patch
- "#approved-reviews-by>=1"
- and:
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adoptium@17\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adoptium@17\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adoptium@17\)
actions:
merge:
method: rebase
Expand All @@ -44,12 +44,12 @@ pull_request_rules:
- label=skip-release
- label=ready-to-merge
- and:
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adopt@1\.8\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adopt@1\.11\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 2\.12\.\d+, adoptium@17\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 2\.13\.\d+, adoptium@17\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adoptium@8\)
- check-success~=Test \(ubuntu-latest, 3\.\d+\.\d+, adoptium@17\)
actions:
merge:
method: rebase
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name-template: 'Trace4Cats OpenTelemetry $NEXT_MINOR_VERSION'
name-template: 'v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
categories:
- title: '🚀 Features'
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JABBA_INDEX: 'https://github.com/typelevel/jdk-index/raw/main/index.json'

jobs:
build:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.7, 2.12.15, 3.0.2]
java: [adopt@1.8, [email protected]]
scala: [2.13.7, 2.12.15, 3.1.0]
java: [adoptium@8, adoptium@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.13.7]
java: [adopt@1.8]
java: [adoptium@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down Expand Up @@ -126,12 +127,12 @@ jobs:
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.0.2)
- name: Download target directories (3.1.0)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-3.0.2-${{ matrix.java }}
name: target-${{ matrix.os }}-3.1.0-${{ matrix.java }}

- name: Inflate target directories (3.0.2)
- name: Inflate target directories (3.1.0)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
9 changes: 1 addition & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@ lazy val commonSettings = Seq(
case _ => Seq.empty
}
},
scalacOptions := {
val opts = scalacOptions.value
val wconf = "-Wconf:any:wv"
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) => opts :+ wconf
case _ => opts
}
},
scalacOptions += "-Wconf:any:wv",
Test / fork := true,
resolvers += Resolver.sonatypeRepo("releases"),
)
Expand Down
3 changes: 2 additions & 1 deletion ci-release.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ThisBuild / crossScalaVersions := Seq(
Dependencies.Versions.scala3
)
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
ThisBuild / githubWorkflowJavaVersions := Seq("[email protected]", "[email protected]")
ThisBuild / githubWorkflowEnv += ("JABBA_INDEX" -> "https://github.com/typelevel/jdk-index/raw/main/index.json")
ThisBuild / githubWorkflowJavaVersions := Seq("adoptium@8", "adoptium@17")

ThisBuild / githubWorkflowBuildPreamble += WorkflowStep.Run(
commands = List("docker-compose up -d"),
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {
object Versions {
val scala212 = "2.12.15"
val scala213 = "2.13.7"
val scala3 = "3.0.2"
val scala3 = "3.1.0"

val trace4cats = "0.12.0"
val trace4catsExporterHttp = "0.12.0"
Expand Down