Merge pull request #585 from cvzi/renovate/migrate-config #156
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: FOSSA Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
fossa-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Add exec permission | |
run: chmod +x gradlew | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Disable configuration cache | |
run: echo -e "\norg.gradle.unsafe.configuration-cache=false\n" >> gradle.properties | |
#- name: Generate dependencies report | |
# run: ./gradlew :app:dependencies > dependencies.txt | |
- name: FOSSA Action | |
uses: fossas/fossa-action@v1 | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} |