Skip to content

Update actions/setup-java action to v4.6.0 #1596

Update actions/setup-java action to v4.6.0

Update actions/setup-java action to v4.6.0 #1596

Workflow file for this run

name: CI
on: [ push ]
jobs:
Validate-Gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
Build:
runs-on: ubuntu-latest
needs: [ Validate-Gradle ]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- name: Build
run: ./gradlew assemble
Lint:
runs-on: ubuntu-latest
needs: [ Build ]
strategy:
matrix:
command: [ detektMain, detektTest, lint, spotlessCheck, checkSortDependencies, licensee, releaseComposeCompilerCheck --rerun-tasks ]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- name: Lint
run: ./gradlew ${{ matrix.command }}
Tests:
runs-on: ubuntu-latest
needs: [ Build ]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- name: Run Unit Tests
run: ./gradlew test
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODE_COV_TOKEN }}