Bump kotlin from 2.0.10 to 2.0.21 #54
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: Execute FOSSA analyze action | |
on: | |
pull_request_target: | |
branches: | |
- main | |
paths: | |
- 'gradle/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'gradle/**' | |
workflow_dispatch: | |
jobs: | |
fossa-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version-file: .java-version | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Cache konan | |
uses: actions/cache@v4 | |
with: | |
path: ~/.konan | |
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: wrapper | |
- uses: fossas/fossa-action@v1 | |
with: | |
api-key: ${{secrets.FOSSA_API_KEY}} | |
branch: ${{ github.event.pull_request.head.ref || github.ref_name }} | |
- uses: fossas/fossa-action@v1 | |
if: github.event_name != 'push' | |
with: | |
api-key: ${{secrets.FOSSA_API_KEY}} | |
run-tests: true |