diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index cf506817f..ad75453fc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,15 +36,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f90ea70ca..94a30ca3c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,47 +13,35 @@ jobs: contents: read strategy: matrix: - java: [8, 11, 17, 21] + java: [11, 17, 21, 25] os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] exclude: - - java: 8 - python-version: '3.9' - - java: 8 - python-version: '3.10' - - java: 8 - python-version: '3.11' - - java: 8 - python-version: '3.12' - - java: 8 - python-version: '3.13' + - java: 11 + python-version: 3.11 + - java: 11 + python-version: 3.12 + - java: 11 + python-version: 3.13 - java: 17 - python-version: '3.9' + python-version: 3.10 - java: 17 - python-version: '3.10' + python-version: 3.12 - java: 17 - python-version: '3.11' - - java: 17 - python-version: '3.12' - - java: 17 - python-version: '3.13' - - java: 21 - python-version: '3.9' - - java: 21 - python-version: '3.10' - - java: 21 - python-version: '3.11' - - java: 21 - python-version: '3.12' - - java: 21 - python-version: '3.13' + python-version: 3.13 + - java: 25 + python-version: 3.10 + - java: 25 + python-version: 3.11 + - java: 25 + python-version: 3.12 runs-on: ${{ matrix.os }} env: maven_commands: install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -61,7 +49,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -75,7 +63,7 @@ jobs: if: startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Create a GitHub release run: gh release create --generate-notes "${GITHUB_REF#refs/tags/}" env: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 37aa9e91f..60fe197a8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -12,7 +12,7 @@ jobs: ruff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: astral-sh/ruff-action@v3 - name: Lint with Ruff run: ruff check --output-format=github diff --git a/README.md b/README.md index 860377317..4ac2a112b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ following before submitting a pull request: * verify that the branch merges cleanly into ```master``` * verify that the branch compiles using Maven - * verify that the branch does not use syntax or API specific to Java 1.8+ + * verify that the branch does not use syntax or API specific to Java > 11 * internal developers only: [run the data tests](https://bio-formats.readthedocs.io/en/stable/developers/commit-testing.html) against directories corresponding to the affected format(s) diff --git a/pom.xml b/pom.xml index 90d967b48..a70511b92 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,7 @@ 2.0.9 6.1.1 ${ome_common.version} + 7.9.0 2016-06 specification/src/main/resources/released-schema/${ome.model.schemaver} @@ -138,11 +139,9 @@ org.apache.maven.plugins maven-compiler-plugin 3.14.0 - + - 8 - 8 - 8 + 11 @@ -240,11 +239,11 @@ maven-javadoc-plugin - 3.0.1 + 3.12.0 false - http://docs.oracle.com/javase/7/docs/api/ + https://docs.oracle.com/en/java/javase/11/docs/api/ @@ -377,23 +376,5 @@ - - jdk8-only - - (,11) - - - 7.5 - - - - jdk11+ - - [11,) - - - 7.9.0 - -