ci: Add github build workflows #1
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
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | |
name: upload-dependency-graph | |
on: | |
pull_request: | |
permissions: | |
contents: read # 'write' permission is not available | |
jobs: | |
dependency-submission: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. | |
- name: Generate and save dependency graph | |
uses: gradle/actions/dependency-submission@d211a39090cba0cdce485f2a0b1f28f39ccda0c9 # v3.3.2 | |
with: | |
dependency-graph: generate-and-upload |