From c34de7d84a31b9e1ff23071ba89cd8b4861f0e34 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sun, 10 Sep 2023 16:18:02 +0400 Subject: [PATCH] fix compilation --- .github/workflows/ci.yml | 16 ++++++++-------- build.sbt | 4 ++-- project/plugins.sbt | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60c4dd1de..f2daad29f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: continue-on-error: true steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Install libuv @@ -48,7 +48,7 @@ jobs: continue-on-error: false steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Install libuv @@ -88,7 +88,7 @@ jobs: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Test @@ -100,7 +100,7 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Install libuv @@ -129,7 +129,7 @@ jobs: app_private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v5.0.0 + uses: peter-evans/create-pull-request@v5.0.2 with: body: |- Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin. @@ -174,7 +174,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Install libuv @@ -203,7 +203,7 @@ jobs: if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Install libuv @@ -234,7 +234,7 @@ jobs: if: ${{ (github.event_name == 'release') && (github.event.action == 'published') }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: notify the main repo about the new release of docs package diff --git a/build.sbt b/build.sbt index 04cfbca5d..e717a33d1 100644 --- a/build.sbt +++ b/build.sbt @@ -78,8 +78,8 @@ lazy val root = project def stdSettings(prjName: String) = Seq( name := s"$prjName", scalafmtOnCompile := !insideCI.value, - Compile / compile / scalacOptions ++= - optionsOn("2.13")("-Wconf:cat=unused-nowarn:s").value, + scalacOptions ++= optionsOn("2.13")("-Wconf:cat=unused-nowarn:s").value, + scalacOptions ++= optionsOn("2.12")("-Xfuture", "-Xsource:2.13").value, scalacOptions -= "-Xlint:infer-any", // workaround for bad constant pool issue (Compile / doc) := Def.taskDyn { diff --git a/project/plugins.sbt b/project/plugins.sbt index a6c9152fb..f984f070d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -val zioSbtVersion = "0.4.0-alpha.17" +val zioSbtVersion = "0.4.0-alpha.18" addSbtPlugin("dev.zio" % "zio-sbt-ecosystem" % zioSbtVersion) addSbtPlugin("dev.zio" % "zio-sbt-website" % zioSbtVersion)