Skip to content

fix github action

fix github action #2

name: Android Unit Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-feature:

Check failure on line 10 in .github/workflows/android-unit-test.yml

View workflow run for this annotation

GitHub Actions / Android Unit Test

Invalid workflow file

The workflow is not valid. .github/workflows/android-unit-test.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: macOS-latest
needs: build
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '18'
- name: Grant execute permissions for gradlew
run: chmod +x ./gradlew
- name: Run Tests with Gradle
run: ./gradlew test