выделил константу MAX_YEAR_BY_1C 3999 #660
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches-ignore: | |
- "translations_*" | |
pull_request: | |
jobs: | |
gatekeeper: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'translations_') == false || github.event_name == 'push' | |
steps: | |
- run: echo 'Open the Golden Gate' | |
build: | |
needs: gatekeeper | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java_version: ['11', '17'] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java_version }} | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew check --stacktrace | |
- name: Archive test results | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }} | |
path: build/reports/tests/test |