Skip to content

Update zio, zio-streams to 2.1.12 #1721

Update zio, zio-streams to 2.1.12

Update zio, zio-streams to 2.1.12 #1721

Workflow file for this run

name: Scala CI
on:
pull_request:
push:
branches:
- master
release:
types: [ published ] # Triggers the CI when a new GitHub Release is published
env:
# See:
# - https://stackoverflow.com/a/73708006
# - https://stackoverflow.com/questions/73465937/apache-spark-3-3-0-breaks-on-java-17-with-cannot-access-class-sun-nio-ch-direct
JAVA_OPTS: -Xms6G -Xmx6G -XX:+UseG1GC -XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation -Dcommunity=false -Dquill.macro.log=false --add-exports java.base/sun.nio.ch=ALL-UNNAMED
JDK_JAVA_OPTIONS: -Xms6G -Xmx6G -XX:+UseG1GC -XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation -Dcommunity=false -Dquill.macro.log=false --add-exports java.base/sun.nio.ch=ALL-UNNAMED
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala: [ 3.3.4 ]
module: [ sqltest, db, bigdata ]
steps:
- uses: actions/checkout@v4.2.0
- name: Setup Java and Scala
uses: actions/setup-java@v4.3.0
with:
distribution: temurin
java-version: '17'
check-latest: true
- name: Scala ${{ matrix.scala }} Building ${{ matrix.module }}
env:
SCALA_VERSION: ${{ matrix.scala }}
run: |
echo "SCALA_VERSION='$SCALA_VERSION'"
./build/build.sh ${{ matrix.module }}
release:
if: ${{github.event_name != 'pull_request'}}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4.2.0
- name: Setup Java and Scala
uses: actions/setup-java@v4.3.0
with:
distribution: temurin
java-version: '17'
check-latest: true
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.GETQUILL_SONATYPE_TOKEN_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.GETQUILL_SONATYPE_TOKEN_USER }}