fix: detect typealias usage. #677
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
name: Main | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*.md' | |
- '*.asciidoc' | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: 'Reason for manual run' | |
required: false | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Execute check (non-functional tests) | |
uses: gradle/[email protected] | |
with: | |
arguments: 'check -s -x :functionalTest' | |
- name: Execute check (testkit) | |
uses: gradle/[email protected] | |
with: | |
arguments: '-p testkit/ check -s' | |
- name: Execute JVM functional tests | |
uses: gradle/[email protected] | |
with: | |
arguments: ':functionalTest -DfuncTest.package=jvm' | |
- name: Execute Android functional tests | |
uses: gradle/[email protected] | |
with: | |
arguments: ':functionalTest -DfuncTest.package=android' | |
- name: Publish snapshot | |
uses: eskatos/gradle-command-action@v1 | |
env: | |
sonatypeUsername: ${{ secrets.sonatypeUsername }} | |
sonatypePassword: ${{ secrets.sonatypePassword }} | |
with: | |
arguments: ':publishToMavenCentral' |