Skip to content

Commit

Permalink
.github: Use Java 9 as minimal Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Sep 7, 2023
1 parent 0932c20 commit 60f41fc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ name: CI
#
# To maximize bug-catching changes while keeping CI times reasonable, we run:
# - All tests on Linux/Java17
# - Fewer tests on Linux/Java8 and Windows/Java17
# - Fewest tests on Windows/Java8
# - Fewer tests on Linux/Java9 and Windows/Java17
# - Fewest tests on Windows/Java9

on:
push:
Expand All @@ -35,7 +35,7 @@ jobs:
matrix:
include:
# bootstrap tests
- java-version: 8
- java-version: 9
buildcmd: ci/test-mill-release.sh
- java-version: 17
buildcmd: ci/test-mill-release.sh
Expand All @@ -48,7 +48,7 @@ jobs:
- java-version: 20
buildcmd: ci/test-mill-bootstrap.sh
# Just some reporting to enable reasoning about library upgrades
- java-version: 8
- java-version: 9
buildcmd: |
./mill -i -k __.ivyDepsTree
./mill -i -k __.ivyDepsTree --withRuntime
Expand All @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version: [8, 17]
java-version: [9, 17]
millargs:
# unit and module tests
- '"{main,scalalib,testrunner,bsp}.__.test"'
Expand Down Expand Up @@ -94,21 +94,21 @@ jobs:
format-check:
uses: ./.github/workflows/run-mill-action.yml
with:
java-version: '8'
java-version: '9'
millargs: mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources

bincompat-check:
uses: ./.github/workflows/run-mill-action.yml
with:
java-version: '8'
java-version: '9'
millargs: __.mimaReportBinaryIssues
continue-on-error: true

windows:
strategy:
fail-fast: false
matrix:
java-version: [8, 17]
java-version: [9, 17]
millargs:
# Run a stripped down build matrix on Windows, to avoid taking too long
- '"{__.publishLocal,dev.assembly,__.compile}"'
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 9
distribution: temurin

- run: ci/release-maven.sh
Expand All @@ -188,7 +188,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 9
distribution: temurin

- run: ./mill -i uploadToGithub $REPO_ACCESS_TOKEN
2 changes: 1 addition & 1 deletion .github/workflows/publish-bridges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 9
distribution: temurin

- run: ci/release-bridge-maven.sh
2 changes: 1 addition & 1 deletion .github/workflows/publishDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 9
distribution: temurin

- run: ci/publish-docs.sh

0 comments on commit 60f41fc

Please sign in to comment.