ci(deps): update anitvam/conventionalcommit-semantic-releasing action to v0.7.64 #2541
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: Build and Test | |
on: | |
workflow_dispatch: | |
workflow_call: | |
pull_request: | |
push: | |
paths-ignore: | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- 'README.md' | |
- 'renovate.json' | |
jobs: | |
build-and-test: | |
name: Build and Test | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java_version: [ 15, 17 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java_version }} | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Azure Platform Login | |
uses: azure/login@v1 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- name: Build | |
run: ./gradlew build | |
- name: Lint Check | |
run: ./gradlew ktlintCheck | |
- name: Test | |
run: ./gradlew test | |
- name: Generate jacoco report | |
run: ./gradlew jacocoTestReport | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
if: ${{ matrix.java_version == 17 }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: build/reports/jacoco/test/jacocoTestReport.xml | |
fail_ci_if_error: true | |
verbose: true |