Bump com.gradleup.shadow from 8.3.9 to 9.1.0 #584
This file contains hidden or 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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: 21 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Validate translations | |
run: ./gradlew :shared:validateI18n | |
- name: Generate OpenAPI spec | |
run: ./gradlew :app:updateApiDoc | |
- name: Validate that generated sources are committed | |
run: git diff --quiet --exit-code HEAD -- | |
- name: Run detekt | |
run: ./gradlew detektAll | |
- name: Run check | |
run: ./gradlew check --info | |
- name: Generate code coverage report for Codecov | |
run: ./gradlew koverXmlReport | |
# TODO migrate to v5 | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} | |
files: ./build/reports/kover/report.xml | |
fail_ci_if_error: false |