build: bump org.junit:junit-bom from 6.0.2 to 6.0.3 #2079
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: Lint | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run checkout github action | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| lfs: 'true' | |
| submodules: 'true' | |
| fetch-depth: 0 | |
| - name: Set up git runner | |
| uses: ./mobile-android-pipelines/actions/setup-runner | |
| with: | |
| jdk-version: 21 | |
| - name: Cache mobile-android-pipelines build | |
| uses: ./actions/cache-pipelines-build | |
| - name: Lint | |
| uses: ./mobile-android-pipelines/actions/lint | |
| env: | |
| GITHUB_ACTOR: ${{ secrets.MODULE_FETCH_TOKEN_USERNAME}} | |
| GITHUB_TOKEN: ${{ secrets.MODULE_FETCH_TOKEN }} | |
| - name: Clean workspace | |
| if: ${{ always() }} | |
| uses: ./mobile-android-pipelines/actions/clean-workspace | |
| lint-structure: | |
| name: Lint Kotlin structure | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Set permissions for ${{ secrets.GITHUB_TOKEN }} | |
| # https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
| packages: read | |
| steps: | |
| - name: Run checkout github action | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| lfs: 'true' | |
| submodules: 'true' | |
| fetch-depth: 0 | |
| - name: Set up git runner | |
| uses: ./mobile-android-pipelines/actions/setup-runner | |
| with: | |
| jdk-version: 21 | |
| - name: Run Konsist tests | |
| run: ./gradlew konsist-test:testDebugUnitTest | |
| env: | |
| GITHUB_ACTOR: ${{ secrets.MODULE_FETCH_TOKEN_USERNAME}} | |
| GITHUB_TOKEN: ${{ secrets.MODULE_FETCH_TOKEN }} | |
| lint-github-actions: | |
| name: Lint Github Actions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run checkout github action | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Lint Github Actions | |
| uses: alphagov/govuk-infrastructure/.github/actions/actionlint@7a6653567f4d69d70d95d7dbf3d4470b6c2db63a # main | |