diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0ae587c..5f1bc0e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,61 +9,45 @@ on: - published jobs: - lint: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - steps: - - name: Checkout current branch - uses: actions/checkout@v2.3.4 - 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', 'adopt@1.11'] - 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: diff --git a/build.sbt b/build.sbt index a04ca8b..1d09585 100644 --- a/build.sbt +++ b/build.sbt @@ -27,7 +27,7 @@ inThisBuild( ) ) -val zioVersion = "1.0.17" +val zioVersion = "1.0.18" ThisBuild / publishTo := sonatypePublishToBundle.value