diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0a3f94..dbee801 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ name: CI env: JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -Xms6G -Xmx6G -Xss4M -XX:+UseG1GC - JVM_OPTS: -XX:+PrintCommandLineFlags -Xms6G -Xmx6G -Xss4M -XX:+UseG1GC 'on': workflow_dispatch: {} release: @@ -14,7 +13,6 @@ env: branches: - main pull_request: {} - create: {} jobs: build: name: Build @@ -22,16 +20,16 @@ jobs: continue-on-error: true steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -47,16 +45,16 @@ jobs: continue-on-error: false steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -72,22 +70,22 @@ jobs: fail-fast: false matrix: java: - - '8' - '11' - '17' + - '21' steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test @@ -99,16 +97,16 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -128,7 +126,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. @@ -173,16 +171,16 @@ jobs: if: ${{ github.event_name != 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 diff --git a/project/plugins.sbt b/project/plugins.sbt index 9d9dba2..f31974e 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.21" addSbtPlugin("dev.zio" % "zio-sbt-ecosystem" % zioSbtVersion) addSbtPlugin("dev.zio" % "zio-sbt-ci" % zioSbtVersion)