Fix zero btc fee price (#1625) #2981
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: Android CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: gradle | |
- name: git submodule update | |
run: git submodule update --init --recursive | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
env: | |
GITHUB_TOKEN: ${{ secrets.TRUSTWALLET_PAT }} | |
GITHUB_USER: ${{ secrets.TRUSTWALLET_USER }} | |
run: ./gradlew build | |
- name: Run Lint Checks | |
run: ./gradlew lint | |
- name: Archive code analysis reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Lint-Reports | |
path: | | |
app/build/reports/lint-results-debug.html | |
app/build/intermediates/lint_intermediate_text_report/debug/lintReportDebug/lint-results-debug.txt | |
- name: Run tests | |
env: | |
GITHUB_TOKEN: ${{ secrets.TRUSTWALLET_PAT }} | |
GITHUB_USER: ${{ secrets.TRUSTWALLET_USER }} | |
run: ./gradlew test |