Fix Default Branch for Databroker #2
Workflow file for this run
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: Validate Pull Request | |
on: | |
pull_request | |
jobs: | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Project | |
uses: ./.github/actions/setup-project | |
- name: Build SDK | |
run: ./gradlew assemble | |
- name: Run Linting | |
run: ./gradlew ktlintCheck detekt | |
- name: Upload Detekt Reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: detekt-reports | |
path: ${{ github.workspace }}/build/reports/detekt | |
if-no-files-found: error | |
retention-days: 14 | |
- name: Execute Tests | |
uses: ./.github/actions/run-tests | |
with: | |
upload-test-reports: true | |
upload-code-coverage-reports: true | |
databroker-version: "latest" |