Skip to content

2.0.20-RC support

2.0.20-RC support #177

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- '**'
- '!website/**'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '**'
- '!website/**'
jobs:
build:

Check failure on line 17 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 17, Col: 3): The workflow must contain at least one job with no dependencies.
name: Build and Analysis
permissions:
pull-requests: read
runs-on: ubuntu-latest
needs: compatibility
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build
run: ./gradlew build
- name: Coverage Report
run: ./gradlew testCodeCoverageReport
- name: Sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonar -Dsonar.branch.name=${{ github.head_ref || github.ref_name }}