mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
- default is now Java 8 toolchain (to fix Eclipse project import) - `src/main/module-info` and `src/main/java9` are compiled with Java 11 toolchain (if global toolchain is Java 8) - `src/main/module-info` and `src/main/java9` are no longer imported into Eclipse projects - task `errorprone` now uses at least Java 11 toolchain
38 lines
884 B
YAML
38 lines
884 B
YAML
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
|
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
|
|
|
name: Error Prone
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
tags:
|
|
- '[0-9]*'
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '.*'
|
|
- '**/.settings/**'
|
|
- 'flatlaf-core/svg/**'
|
|
- 'flatlaf-testing/dumps/**'
|
|
- 'flatlaf-testing/misc/**'
|
|
- 'images/**'
|
|
|
|
jobs:
|
|
error-prone:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'JFormDesigner/FlatLaf'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Java 11
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: 11
|
|
distribution: temurin # pre-installed on ubuntu-latest
|
|
cache: gradle
|
|
|
|
- name: Check with Error Prone
|
|
run: ./gradlew errorprone
|