Improve code generation to ensure unique function names in object. #55
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 | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# The jobs to run as part of this workflow | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Environment variables | |
env: | |
# Set the JAVA_HOME environment variable | |
JAVA_HOME_17_X64: /usr/lib/jvm/adoptopenjdk-17-hotspot-amd64 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2.0.10 | |
- name: Run Lint Check | |
run: ./gradlew ktlintCheck | |
- name: Run Code Coverage Check | |
run: ./gradlew verifyCodeCoverage | |
- name: Upload Code Coverage Report | |
uses: actions/upload-artifact@v4.4.3 | |
with: | |
name: CodeCoverageReport | |
path: resourcemanager/build/reports/jacoco/generateCodeCoverageReport/html | |
- name: Publish to Gradle Plugin Portal | |
run: ./gradlew publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} |