Skip to content

Commit

Permalink
ci: update all configuration files to scala 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cake-lier committed May 25, 2023
1 parent 423a229 commit 4378e32
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ jobs:
- name: Publish scaladoc on GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/scala-3.2.2/api
folder: target/scala-3.3.0/api
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: target/scala-3.2.2/scoverage-report
directory: target/scala-3.3.0/scoverage-report
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
verbose: true
- name: SonarCloud scan fixed
uses: pervasive-cats/sonarcloud-scoverage-fix@v1.0.1
with:
scoverageReport: target/scala-3.2.2/scoverage-report/scoverage.xml
scoverageReport: target/scala-3.3.0/scoverage-report/scoverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ plugins:
- sonar-project.properties
- - '@semantic-release/github'
- assets:
- path: target/scala-3.2.2/main.jar
- path: target/scala-3.3.0/main.jar
label: Main JAR file
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM eclipse-temurin:17.0.7_7-jre

RUN mkdir /opt/app
COPY application.conf /opt/app/
COPY target/scala-3.2.2/main.jar /opt/app/
COPY target/scala-3.3.0/main.jar /opt/app/
CMD ["java", "-jar", "/opt/app/main.jar", "/opt/app/application.conf"]
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Global / onChangedBuildSource := ReloadOnSourceChanges

Global / excludeLintKeys := Set(idePackagePrefix)

ThisBuild / scalaVersion := "3.2.2"
ThisBuild / scalaVersion := "3.3.0"

ThisBuild / scalafixDependencies ++= Seq(
"com.github.liancheng" %% "organize-imports" % "0.6.0",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=cake-lier
sonar.projectName=scala-app-template
sonar.projectVersion=0.0.0
sonar.scala.version=3.2
sonar.scala.coverage.reportPaths=target/scala-3.2.2/scoverage-report/scoverage.xml
sonar.scala.coverage.reportPaths=target/scala-3.3.0/scoverage-report/scoverage.xml
sonar.sources=src/main/scala
sonar.tests=src/test/scala
sonar.sourceEncoding=UTF-8

0 comments on commit 4378e32

Please sign in to comment.