Skip to content

Update GitHub Actions (major) #138

Update GitHub Actions (major)

Update GitHub Actions (major) #138

Workflow file for this run

# 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@v1.1.0
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@v4
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@v4
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)