fix: DIFF自定义函数寻找类字段使用!isSynthetic() log-record-starter Javadoc默认JDK1.8 #100
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: CI | |
# workflow_dispatch: | |
# Allows you to run this workflow manually from the Actions tab | |
# https://github.com/marketplace/actions/workflow-dispatch | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
code_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: zulu | |
- name: Cache mvn dependencies | |
uses: actions/cache@v3 | |
env: | |
cache-name: mvn-deps | |
with: | |
path: ~/.m2 | |
key: ${{ env.cache-name }}-${{ hashFiles('./log-record-starter/pom.xml') }} | |
restore-keys: ${{ env.cache-name }}- | |
- name: Test with Maven | |
working-directory: ./log-record-starter | |
run: mvn -V --no-transfer-progress test | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ./target/site/jacoco/jacoco.xml | |
flags: unittests |