Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Code Quality Test

# Run for any commits to any branch
on: [push, pull_request, workflow_dispatch]

env:
SONAR_PROJECT: ${{ secrets.SONAR_PROJECT }}
SONAR_URL: ${{ secrets.SONAR_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v2
- name: Setup sonar scanner
uses: warchant/setup-sonar-scanner@v3
- name: Run Sonarqube analysis
run: |
sonar-scanner \
-Dsonar.qualitygate.wait=true \
-Dsonar.host.url=$SONAR_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.projectKey=$SONAR_PROJECT \
-Dsonar.sources=. \
-Dsonar.scm.disabled=true \
4 changes: 2 additions & 2 deletions app/src/main/java/com/rootstrap/presenter/theme/Theme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private val DarkColorScheme = darkColorScheme(
onSecondary = TextColor,
onTertiary = TextColor,
onBackground = TextColor,
onSurface = TextColor,
onSurface = TextColor
)

private val LightColorScheme = lightColorScheme(
Expand All @@ -35,7 +35,7 @@ private val LightColorScheme = lightColorScheme(
onSecondary = TextColor,
onTertiary = TextColor,
onBackground = TextColor,
onSurface = TextColor,
onSurface = TextColor
)

var AppColorScheme: ColorScheme = LightColorScheme
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/data_extraction_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<!-- Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
Expand Down