chore(deps): update all non-major dependencies #1905
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 | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'examples/**' | |
- 'lib/**' | |
- 'starters/**' | |
- 'gradle/**' | |
- 'build.gradle.kts' | |
- 'settings.gradle.kts' | |
- 'buildSrc/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'examples/**' | |
- 'lib/**' | |
- 'starters/**' | |
- 'gradle/**' | |
- 'build.gradle.kts' | |
- 'settings.gradle.kts' | |
- 'buildSrc/**' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:dind | |
options: --privileged | |
steps: | |
- name: Configure JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: current | |
- name: Gradle Build and Test | |
run: gradle --build-cache --configuration-cache build test koverXmlReport | |
- name: Add coverage report to PR | |
id: kover | |
uses: mi-kas/kover-report@v1 | |
if: github.repository == 'Trendyol/stove' | |
with: | |
path: | | |
${{ github.workspace }}/build/reports/kover/report.xml | |
title: Code Coverage | |
update-comment: true | |
min-coverage-overall: 80 | |
min-coverage-changed-files: 80 | |
coverage-counter-type: LINE | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
if: github.repository == 'Trendyol/stove' | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |