diff --git a/.github/workflows/gradle-task.yml b/.github/workflows/gradle-task.yml index c9913b3e..157961b8 100644 --- a/.github/workflows/gradle-task.yml +++ b/.github/workflows/gradle-task.yml @@ -17,7 +17,7 @@ on: jobs: task: name: ${{ inputs.task-name }} - runs-on: [ self-hosted, cko-mobile-default-runners-github-runners ] + runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v3 diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml deleted file mode 100644 index 9230cc4f..00000000 --- a/.github/workflows/verify-pr.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Verify Pull Request - -on: - push: - branches: [ master ] - pull_request: - # The branches below must be a subset of the branches above - types: [ opened, synchronize, reopened ] - branches: [ master, "bugfix/*", "feature/*", "release/*" ] - paths: - - 'checkout/**' - - 'example_app_frames/**' - - 'app/**' - - 'frames/**' - - 'buildSrc/**' - - 'build.gradle.kt' - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - lint: - name: Code Lint - runs-on: ubuntu-latest - permissions: - pull-requests: read - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: gradle - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Cache Gradle and wrapper - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - - name: Run Android Lint - run: ./gradlew lint - - name: Run KtLint - run: ./gradlew ktlint - - test: - name: Unit Tests - runs-on: ubuntu-latest - permissions: - pull-requests: read - needs: lint - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: gradle - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Run unit tests - run: ./gradlew test