diff --git a/.github/workflows/review_pull_request.yml b/.github/workflows/review_pull_request.yml index a2385815..18fedb04 100644 --- a/.github/workflows/review_pull_request.yml +++ b/.github/workflows/review_pull_request.yml @@ -53,6 +53,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' + bundler-cache: true - name: Cache gems uses: actions/cache@v2 @@ -62,16 +63,6 @@ jobs: restore-keys: | ${{ runner.os }}-gems- - - name: Install Bundle and check environment versions - run: | - echo 'Install Bundle' - bundle config path vendor/bundle - bundle install - echo 'Check environment setup versions' - ruby --version - gem --version - bundler --version - - name: Run Danger env: DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/template-compose/.github/workflows/review_pull_request.yml b/template-compose/.github/workflows/template_review_pull_request.yml similarity index 88% rename from template-compose/.github/workflows/review_pull_request.yml rename to template-compose/.github/workflows/template_review_pull_request.yml index 06f5fd07..5e429439 100644 --- a/template-compose/.github/workflows/review_pull_request.yml +++ b/template-compose/.github/workflows/template_review_pull_request.yml @@ -13,7 +13,7 @@ jobs: if: github.event.pull_request.draft == false name: Review pull request runs-on: ubuntu-latest - environment: dev + environment: staging timeout-minutes: 30 steps: - name: Checkout source code @@ -38,15 +38,6 @@ jobs: distribution: 'temurin' java-version: '17' - - name: Run Detekt - run: ./gradlew detekt - - - name: Run Android Lint - run: ./gradlew lintDevDebug - - - name: Run unit tests with Kover - run: ./gradlew koverXmlReport - - name: Set up Ruby uses: ruby/setup-ruby@v1 with: