This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create a separate "Detekt workflow" * WIP: Configure dependabot * Migrate Hilt to Version catalog * Migrate Room to version catalog * WIP: Massive legacy code cleanup * Delete legacy code * Migrate deps to version catalog * Cleanup * Refactor `libs.versions.toml` * Update the dependabot configuration * Fix the `dependabot.yml` (attempt #1) * Fix the `dependabot.yml` (attempt #2) * Fix the `dependabot.yml` (attempt #3) * Fix the `dependabot.yml` (attempt #4) * Fix the `dependabot.yml` (attempt #5) * Update Deket baseline * Don't send APK to Telegram if it's `dependabot` * Bump the dependabot.yml open PRs limit to 10 * Add Gradle caching to the "Detekt" workflow
- Loading branch information
1 parent
e688eca
commit 9a3ca1c
Showing
158 changed files
with
370 additions
and
5,834 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Detekt | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
detekt: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Checkout GIT | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Java SDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '18' | ||
#---------------------------------------------------- | ||
|
||
#Optimization | ||
- name: Enable Gradle Wrapper caching (optmization) | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
#--------------------------------------------------- | ||
|
||
#Detekt | ||
- name: Detekt | ||
run: ./gradlew detekt | ||
|
||
- name: Upload Detekt Release report to GitHub | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: detekt-report.html | ||
path: build/reports/detekt/detekt.html | ||
#------------------------------------------------------------------ |
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
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
Oops, something went wrong.