Skip to content

build(deps): Update quarkus to 3.2.9 #48

build(deps): Update quarkus to 3.2.9

build(deps): Update quarkus to 3.2.9 #48

name: Gradle Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java
- name: Grant permissions
run: chmod +x gradlew
- name: Build
run: ./gradlew build -x test
- name: Test
run: ./gradlew test
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: test_results
path: |
build/test-results/test/*.xml
- name: Upload Coverage Reports
if: always()
uses: actions/upload-artifact@v3
with:
name: coverage_reports
path: |
build/jacoco-report/jacoco.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: event_file
path: ${{ github.event_path }}