Implement CodedError system with NATA-XXXX error codes #22
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 | |
| - name: Unit Tests | |
| run: ./gradlew test --stacktrace |