-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f3e389
commit 0f3863f
Showing
1 changed file
with
20 additions
and
20 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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Stale Jobs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected] | ||
uses: styfle/cancel-workflow-action@bdaa46e4662006504ca6b0cfb7488010126dc98c # [email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -34,7 +34,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Validate Gradle wrapper | ||
|
@@ -46,7 +46,7 @@ jobs: | |
if: github.event_name == 'pull_request' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Common Steps | ||
|
@@ -56,14 +56,14 @@ jobs: | |
- name: Assemble Katana | ||
run: ./gradlew assembleDebug --no-daemon --stacktrace | ||
- name: Upload debug artifacts | ||
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # [email protected] | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # [email protected] | ||
with: | ||
name: Katana v${{ github.run_number }} | ||
path: | | ||
${{ vars.ANDROID_DEBUG_APK }} | ||
retention-days: 7 | ||
- name: Upload compose reports artifact | ||
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # [email protected] | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # [email protected] | ||
if: always() | ||
with: | ||
name: compose-reports | ||
|
@@ -80,7 +80,7 @@ jobs: | |
security-events: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Common Steps | ||
|
@@ -90,15 +90,15 @@ jobs: | |
- name: Run detekt | ||
run: ./gradlew detektAll lintDebug --no-daemon --stacktrace | ||
- name: Upload static reports artifact | ||
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # [email protected] | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # [email protected] | ||
with: | ||
name: static-report | ||
path: | | ||
build/reports/detekt/detekt.xml | ||
**/build/reports/lint-results-debug.xml | ||
retention-days: 1 | ||
- name: Analyze detekt report | ||
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # [email protected].0 | ||
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # [email protected].1 | ||
with: | ||
sarif_file: build/reports/detekt/detekt.sarif | ||
checkout_path: ${{ github.workspace }} | ||
|
@@ -108,7 +108,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Common Steps | ||
|
@@ -118,15 +118,15 @@ jobs: | |
- name: Run unit tests | ||
run: ./gradlew :koverXmlReport :koverVerify --no-daemon --stacktrace | ||
- name: Upload tests reports artifact | ||
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # [email protected] | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # [email protected] | ||
with: | ||
name: tests-reports | ||
path: | | ||
**/build/reports/tests/jvmTest | ||
**/build/reports/tests/testDebugUnitTest | ||
retention-days: 7 | ||
- name: Upload report to Codecov | ||
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # [email protected] | ||
uses: codecov/codecov-action@adfacf2d276b158264c48ff298490fbdf13e4fb6 # [email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: build/reports/kover/report.xml | ||
|
@@ -140,15 +140,15 @@ jobs: | |
needs: [ static-analysis, unit-tests ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Common Steps | ||
uses: ./.github/actions/common-steps | ||
with: | ||
gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | ||
- name: Decode keystore | ||
uses: timheuer/base64-to-file@784a1a4a994315802b7d8e2084e116e783d157be # [email protected] | ||
uses: timheuer/base64-to-file@604a8926a81a2da120d09b06bb76da9bba5aee6e # [email protected] | ||
with: | ||
fileDir: . | ||
fileName: ${{ secrets.SIGNING_FILE }} | ||
|
@@ -169,7 +169,7 @@ jobs: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
run: ./gradlew assembleBeta -Pkatana.flavor=beta --no-daemon --stacktrace | ||
- name: Publish beta APK to TestApp.io | ||
uses: testappio/github-action@57d81be5051e10ea7c07da5730b2eaae1b9b1fa1 # pin@v5 | ||
uses: testappio/github-action@8fa3853470e3c8c278f928c04d0691400d25fd4a # pin@v5 | ||
with: | ||
api_token: ${{ secrets.TESTAPPIO_API_TOKEN }} | ||
app_id: ${{ secrets.TESTAPPIO_APP_ID }} | ||
|
@@ -188,7 +188,7 @@ jobs: | |
gitReleaseNotes: true | ||
debug: false | ||
- name: Create Sentry release | ||
uses: getsentry/action-release@e769183448303de84c5a06aaaddf9da7be26d6c7 # [email protected] | ||
uses: getsentry/action-release@6dca92ad5e7f1bd3c5e1ad8576ba1976b18e8446 # [email protected] | ||
env: | ||
SENTRY_PROJECT: ${{ vars.SENTRY_ANDROID_BETA_PROJECT }} | ||
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | ||
|
@@ -204,15 +204,15 @@ jobs: | |
needs: [ static-analysis, unit-tests ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | ||
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # [email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Common Steps | ||
uses: ./.github/actions/common-steps | ||
with: | ||
gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | ||
- name: Decode keystore | ||
uses: timheuer/base64-to-file@784a1a4a994315802b7d8e2084e116e783d157be # [email protected] | ||
uses: timheuer/base64-to-file@604a8926a81a2da120d09b06bb76da9bba5aee6e # [email protected] | ||
with: | ||
fileDir: . | ||
fileName: ${{ secrets.SIGNING_FILE }} | ||
|
@@ -228,7 +228,7 @@ jobs: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
run: ./gradlew assembleRelease bundleRelease -Pkatana.flavor=release --no-daemon --stacktrace | ||
- name: Publish production AAB to Google Play | ||
uses: r0adkll/upload-google-play@935ef9c68bb393a8e6116b1575626a7f5be3a7fb # [email protected] | ||
uses: r0adkll/upload-google-play@23e7aaf6cf6f9b3120ff3a386f194e31fbec4c4e # [email protected] | ||
with: | ||
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT }} | ||
packageName: dev.alvr.katana | ||
|
@@ -237,7 +237,7 @@ jobs: | |
status: completed | ||
mappingFile: app/build/outputs/mapping/release/mapping.txt | ||
- name: Create Sentry release | ||
uses: getsentry/action-release@e769183448303de84c5a06aaaddf9da7be26d6c7 # [email protected] | ||
uses: getsentry/action-release@6dca92ad5e7f1bd3c5e1ad8576ba1976b18e8446 # [email protected] | ||
env: | ||
SENTRY_PROJECT: ${{ vars.SENTRY_ANDROID_RELEASE_PROJECT }} | ||
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | ||
|
@@ -246,7 +246,7 @@ jobs: | |
environment: production | ||
version: ${{ github.ref }} | ||
- name: Create Release | ||
uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048 # [email protected] | ||
uses: softprops/action-gh-release@c43d7637b9b9ce3e953168c325d27253a5d48d8e # [email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|