Skip to content

(auto merged) Bump ksp from 2.0.0-1.0.24 to 2.0.10-1.0.24 #62

(auto merged) Bump ksp from 2.0.0-1.0.24 to 2.0.10-1.0.24

(auto merged) Bump ksp from 2.0.0-1.0.24 to 2.0.10-1.0.24 #62

name: Run build and unit test
on:
pull_request:
paths-ignore:
- '**.md'
- '.github/**'
- '!.github/workflows/**'
push:
branches:
- 'develop'
- 'main'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_test:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: java-kotlin
build-mode: manual
- language: ruby
build-mode: none
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: set up JDK 17
if: matrix.language == 'java-kotlin'
uses: actions/setup-java@v4.2.2
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: set up Gradle
if: matrix.language == 'java-kotlin'
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- name: Build with Gradle
if: matrix.language == 'java-kotlin'
run: ./gradlew assembleDebug --no-daemon --stacktrace
- name: Run test
if: matrix.language == 'java-kotlin'
run: ./gradlew testDebug --no-daemon --stacktrace
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
androidTest:
uses: ./.github/workflows/instrumented_test.yml
lint:
uses: ./.github/workflows/lint_check.yml
permissions:
security-events: write
coverage:
needs: [ build_test, androidTest ]
uses: ./.github/workflows/coverage.yml
danger:
needs: [ build_test, androidTest, coverage ]
uses: ./.github/workflows/danger.yml
if: ${{ always() }}