Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize/Update/Align CI #1279

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
13 changes: 0 additions & 13 deletions .github/renovate.json

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: CI

env:
JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -XX:MaxMetaspaceSize=4G -Xmx4G -Xss8M # JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java
JVM_OPTS: -XX:+PrintCommandLineFlags -XX:MaxMetaspaceSize=4G -Xmx4G -Xss8M # for Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS)
NODE_OPTIONS: --max_old_space_size=6144

on:
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: 8 # ensure it works on 8 because we publish for 8
java-version: 11 # ensure it works on 11 because we publish for 11
check-latest: true
- name: Setup NodeJs
uses: actions/setup-node@v4
Expand Down Expand Up @@ -141,7 +140,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ['8', '11']
java: ['11', '17', '21']
platform: ['JVM']
steps:
- name: Checkout current branch
Expand Down Expand Up @@ -207,7 +206,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: '8'
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
Expand Down Expand Up @@ -274,7 +273,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: 8 # publish for 8
java-version: 11 # publish for 11
check-latest: true
- name: Cache scala dependencies
uses: coursier/cache-action@v6
Expand Down Expand Up @@ -310,7 +309,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: '8'
java-version: '11'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Scala Steward

# This workflow will launch everyday at 00:00
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}

jobs:
scala-steward:
timeout-minutes: 45
runs-on: ubuntu-latest
name: Scala Steward
steps:
- name: Scala Steward
uses: scala-steward-org/[email protected]
with:
github-app-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_ID }}
github-app-installation-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_INSTALLATION_ID }}
github-app-key: ${{ secrets.SCALA_STEWARD_GITHUB_APP_PRIVATE_KEY }}
github-app-auth-only: true
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ addSbtPlugin("org.scalameta" % "sbt-mdoc"
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("pl.project13.scala" % "sbt-jcstress" % "0.2.0")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.4.0-alpha.22")
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.4.0-alpha.25")
Loading