diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f691d8b99..ad3d9d57b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,20 +22,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '11.0.8' + distribution: 'temurin' + java-version: '11' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Lint checks run: bundle exec fastlane lint - name: Archive lint reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: lint-reports if: always() diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4db697ed5..55641a0cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,17 +21,18 @@ jobs: runs-on: macos-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '11.0.8' + distribution: 'temurin' + java-version: '11' - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: api-level: 29 script: ./gradlew -Pcoverage :app:jacocoTestReportGoogleplayDebug :app:createGoogleplayDebugAndroidTestCoverageReport - name: upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: directory: ./app/build