Skip to content

Commit

Permalink
Update Github dependencies track (#131)
Browse files Browse the repository at this point in the history
* udpate GH actions deps

* Scala 3.3.0-RC4

* remove extra - in GH actions spec that broke CI

* GH set distribution to AdoptOpenJDK

* GH set Java 8
  • Loading branch information
lemastero authored May 10, 2023
1 parent 5178304 commit 22d45d5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Get changes from Git
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'adopt'
java-version: 8
- name: Run tests
run: sbt clean test
11 changes: 6 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ lazy val root = project
val _ = (Test / g8Test).toTask("").value
},
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-junit" % zioVersion % Test,
"dev.zio" %% "zio-test-magnolia" % zioVersion % Test
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-junit" % zioVersion % Test,
"dev.zio" %% "zio-test-magnolia" % zioVersion % Test,
"org.scala-lang" % "scala3-compiler_3" % "3.3.0-RC4"
),
scriptedLaunchOpts ++= List("-Xms1024m", "-Xmx1024m", "-XX:ReservedCodeCacheSize=128m", "-XX:MaxPermSize=256m", "-Xss2m", "-Dfile.encoding=UTF-8"),
resolvers += Resolver.url("typesafe", url("https://repo.typesafe.com/typesafe/ivy-releases/"))(Resolver.ivyStylePatterns)
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/default.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=zio-dotty-quickstart
description=This is a seed project which creates a basic build for a Scala application using ZIO.
dotty_version=3.3.0-RC3
dotty_version=3.3.0-RC4
organization=com.example
package=$organization$

0 comments on commit 22d45d5

Please sign in to comment.