chore(deps): update actions/cache action to v6 - autoclosed #1092
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: CI | |
| on: | |
| push: { } | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-env | |
| with: | |
| google-services-json: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
| mock-dark-theme-handler: ${{ secrets.MOCK_DARK_THEME_HANDLER }} | |
| - name: Cache SonarCloud packages | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.sonar/cache | |
| key: ${{ runner.os }}-sonar | |
| restore-keys: ${{ runner.os }}-sonar | |
| - name: Run Lint and Build | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./gradlew lint assembleFossRelease --info | |
| - name: SonarCloud Scan | |
| uses: SonarSource/sonarqube-scan-action@v8 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| with: | |
| args: >- | |
| -Dsonar.projectKey=xLexip_Hecate | |
| -Dsonar.projectVersion=1.3.0 | |
| -Dsonar.organization=xlexip | |
| -Dsonar.host.url=https://sonarcloud.io | |
| -Dsonar.androidLint.reportPaths=app/build/reports/lint-results-fossDebug.html | |
| build_play: | |
| name: Build Play | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-env | |
| with: | |
| google-services-json: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
| mock-dark-theme-handler: ${{ secrets.MOCK_DARK_THEME_HANDLER }} | |
| - name: Build Play | |
| run: ./gradlew assemblePlayRelease --info | |
| build_foss: | |
| name: Build FOSS | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-env | |
| with: | |
| google-services-json: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
| mock-dark-theme-handler: ${{ secrets.MOCK_DARK_THEME_HANDLER }} | |
| - name: Build FOSS | |
| run: ./gradlew assembleFossRelease |