-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from Backbase/ci-enhancements
CI enhancements
- Loading branch information
Showing
6 changed files
with
727 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,11 @@ jobs: | |
uses: gradle/wrapper-validation-action@v1 | ||
- name: Build | ||
run: ./gradlew clean build --stacktrace | ||
- name: Report Detekt results | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: ${{ github.workspace }}/build/detekt/sarif | ||
checkout_path: ${{ github.workspace }} | ||
- name: Instrumented tests | ||
uses: reactivecircus/[email protected] | ||
with: | ||
|
@@ -33,3 +38,20 @@ jobs: | |
check_name: Android test report for API ${{ matrix.api-level }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
report_paths: "**/build/outputs/androidTest-results/connected/flavors/debugAndroidTest/TEST-*.xml" | ||
|
||
scan_for_secrets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
with: | ||
# Allows Gitleaks to scan the commit history of a whole PR: | ||
fetch-depth: '0' | ||
- name: Fetch Gitleaks rules | ||
uses: wei/wget@v1 | ||
with: | ||
args: -O .rules.toml https://raw.githubusercontent.com/fnxpt/gitleaks-action/rules/.rules.toml | ||
- name: Gitleaks | ||
uses: zricethezav/[email protected] | ||
with: | ||
config-path: .rules.toml |
This file was deleted.
Oops, something went wrong.
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.