Bump pl.project13.maven:git-commit-id-plugin from 2.2.5 to 4.9.10 in /starlight #268
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: Unit Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '8', '17' ] | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Setup Java JDK and Maven | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build starlight | |
if: ${{ matrix.java == '8' }} | |
run: | | |
mvn -B verify --file starlight/pom.xml --no-transfer-progress | |
- name: Build starlight-starter | |
if: ${{ matrix.java == '17' }} | |
run: | | |
mvn -B verify --file spring-cloud-starter-baidu-starlight/pom.xml --no-transfer-progress | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v3 |