fix: add missing annotation resolver dependencies that makes test failed #27
Workflow file for this run
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: Run Test Suite | |
on: | |
# pull_request: This workflow will be triggered when new commits are pushed onto GitHub | |
# ref: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request | |
pull_request: | |
# This is the default value of this event | |
types: [opened, reopened, synchronize] | |
# workflow_call: Or it will be triggered by release workflow | |
# ref: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call | |
workflow_call: | |
inputs: | |
jdk-version: | |
default: '17' | |
required: false | |
type: string | |
version: | |
default: 'latest' | |
required: false | |
type: string | |
jobs: | |
# Only run test job if we want to build latest version | |
test: | |
name: Run Test Suite | |
if: ${{ !inputs.version || inputs.version == 'latest' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ inputs.jdk-version || '17' }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Run Unit Test Suite | |
run: ./gradlew :common:test |