Skip to content

Update dependency com.fasterxml.jackson.core:jackson-databind to v2.1… #635

Update dependency com.fasterxml.jackson.core:jackson-databind to v2.1…

Update dependency com.fasterxml.jackson.core:jackson-databind to v2.1… #635

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: JavaCI-PR
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- '**/README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'pull_request_template.md'
- '.lift/.toml'
- '**/.lift/.toml'
- 'SECURITY.md'
- 'LICENSE'
- '.github/ISSUE_TEMPLATE/**'
- '.github/assets/**'
- '.github/workflows/**'
- '!.github/workflows/gradle-ci.yml'
- '.github/pr-labeler.yml'
- 'renovate.json'
- '.whitesource'
- 'config/ossindex/exclusions.txt'
permissions: read-all
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
# Set up build environment
- name: Prepare git
if: ${{ matrix.os != 'ubuntu-latest' }}
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: temurin
java-version: 17
- name: Set up Gradle
uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
with:
cache-disabled: true
- name: Build with Gradle (if Ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./gradlew printVersion build -Pci
- name: Build with Gradle (if Windows)
if: ${{ matrix.os != 'ubuntu-latest' }}
run: ./gradlew printVersion build -x :file-barj-core:jacocoTestCoverageVerification -Pci
- name: Upload Test reports - Core
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-report-file-barj-core-${{ matrix.os }}
path: |
file-barj-core/build/reports/tests/test
file-barj-core/build/reports/abort-mission/abort-mission-report.html
retention-days: 5
- name: Upload Test reports - Job
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-report-file-barj-job-${{ matrix.os }}
path: |
file-barj-job/build/reports/tests/test
file-barj-job/build/reports/abort-mission/abort-mission-report.html
retention-days: 5
- name: Upload Test reports - Stream IO
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-report-file-barj-stream-io-${{ matrix.os }}
path: |
file-barj-stream-io/build/reports/tests/test
file-barj-stream-io/build/reports/abort-mission/abort-mission-report.html
retention-days: 5
- name: Upload coverage to Codecov - Core (if Ubuntu)
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
if: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'nagyesta' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./file-barj-core/build/reports/jacoco/report.xml
flags: core
- name: Upload coverage to Codecov - Job (if Ubuntu)
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
if: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'nagyesta' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./file-barj-job/build/reports/jacoco/report.xml
flags: job
- name: Upload coverage to Codecov - Stream IO (if Ubuntu)
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
if: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'nagyesta' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./file-barj-stream-io/build/reports/jacoco/report.xml
flags: stream