Skip to content

fix: fossa ci build issues #78

fix: fossa ci build issues

fix: fossa ci build issues #78

Workflow file for this run

name: Checks
on: [pull_request, push]
jobs:
fossa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: Install dependencies
run: ./gradlew build
- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
branch: ${{ github.ref_name }}
- name: Run FOSSA tests
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true
build:
name: Run Checks
runs-on: ubuntu-latest
steps:
- name: Checkout the source
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: Run Gradle check task
run: ./gradlew check --continue