Skip to content

chore: github actions workflow commit stage #1

chore: github actions workflow commit stage

chore: github actions workflow commit stage #1

Workflow file for this run

name: Commit Stage
on: push
jobs:
build:
name: Build and Test
runs-on: ubuntu-24.04
permissions:
contents: read
security-events: write
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle
- name: Code vulnerability scanning
uses: anchore/scan-action@3
id: scan
with:
path: "${{ github.workspace }}"
fail-build: false
severity-cutoff: high
acs-report-enable: true
- name: Upload code vulenrability report
uses: github/codeql-action/upload-sarif@v2
if: success() || failure()
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
- name: Build, unit tests and integration tests
run: |
chmod +x gradlew
./gradlew build