Update GitHub Actions (major) #133
This file contains 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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🧼 lint renovate config # Validates changes to renovate.json config file | |
uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2 | |
with: | |
config_file_path: 'renovate.json' | |
ci-build: | |
name: Run Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11.0.1+13 | |
distribution: 'zulu' | |
cache: gradle | |
- name: Build | |
working-directory: ./BrickKit | |
run: ./gradlew build --no-daemon | |
ci-test: | |
name: Run UI Tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11.0.1+13 | |
distribution: 'zulu' | |
cache: gradle | |
- name: Run Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
script: cd BrickKit && ./gradlew connectedCheck | |
- name: Upload to Codecov | |
run: bash <(curl -s https://codecov.io/bash) |