Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Bump to 1.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
hmemcpy committed Feb 28, 2023
1 parent e14f151 commit 739f928
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 29 deletions.
38 changes: 11 additions & 27 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,61 +9,45 @@ on:
- published

jobs:
lint:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout current branch
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v10
- name: Cache scala dependencies
uses: coursier/cache-action@v5
- name: Lint code
run: sbt check

test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
fail-fast: true
matrix:
java: ['adopt@1.8', '[email protected]']
scala: ['2.11.12', '2.12.15', '2.13.8', "3.1.2"]
java: ['openjdk@1.17.0']
scala: ['2.11.12', '2.12.16', '2.13.8', "3.2.1"]
platform: ['JVM', 'JS']
steps:
- name: Checkout current branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3.0.2
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.java }}
- name: Cache scala dependencies
uses: coursier/cache-action@v5
- name: Run tests
if: matrix.scala != '3.1.2'
if: matrix.scala != '3.2.1'
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }}
- name: Run dotty tests
if: matrix.scala == '3.1.2' && matrix.platform == 'JVM'
if: matrix.scala == '3.2.1' && matrix.platform == 'JVM'
run: sbt ++${{ matrix.scala }}! testJVM

publish:
runs-on: ubuntu-20.04
needs: [lint, test]
needs: [test]
if: github.event_name != 'pull_request'
steps:
- name: Checkout current branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3.0.2
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v14
- name: Cache scala dependencies
uses: coursier/cache-action@v5
uses: coursier/cache-action@v6
- name: Release artifacts
run: sbt ci-release
env:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ inThisBuild(
)
)

val zioVersion = "1.0.17"
val zioVersion = "1.0.18"

ThisBuild / publishTo := sonatypePublishToBundle.value

Expand Down
2 changes: 1 addition & 1 deletion project/BuildHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object BuildHelper {
final private val Scala211 = "2.11.12"
final private val Scala212 = "2.12.15"
final private val Scala213 = "2.13.8"
final private val Scala3 = "3.1.2"
final private val Scala3 = "3.2.1"

final val scala3Settings = Seq(
crossScalaVersions += Scala3
Expand Down

0 comments on commit 739f928

Please sign in to comment.