Substrate v2: Generic parent-child CRUD app (Phases 2A-1, 2A-2, 2A-3) #59
Workflow file for this run
This file contains hidden or 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: Run tests | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Check lint (spotless) | |
| run: | | |
| chmod +x gradlew | |
| ./gradlew spotlessCheck | |
| - name: Android Lint | |
| run: ./gradlew :app:lintDebug | |
| # The test takes a long time to run, so I've commented it out. | |
| # - name: Unit Tests | |
| # run: ./gradlew test --stacktrace |