Skip to content

chore(deps): bump gradle/gradle-build-action from 2.12.0 to 3.1.0 #21

chore(deps): bump gradle/gradle-build-action from 2.12.0 to 3.1.0

chore(deps): bump gradle/gradle-build-action from 2.12.0 to 3.1.0 #21

Workflow file for this run

name: 'Test'
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
DEEPSOURCE_DSN: ${{secrets.DEEPSOURCE_DSN}}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Download the DeepSource CLI
run: curl https://deepsource.io/cli | sh
- name: Enable gradlew execution
run: chmod +x gradlew
- name: Test
run: ./gradlew koverXmlReportRelease
- name: Upload Coverage Report
run: ./bin/deepsource report --analyzer test-coverage --key kotlin --value-file sdk/build/reports/kover/reportRelease.xml