Skip to content

Create quick-build.yml #1

Create quick-build.yml

Create quick-build.yml #1

Workflow file for this run

name: Build
on:
push:
branches:
- '!master'
- '*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install curl libs
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev libssl-dev
- name: Set up JDK 21
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -Dgpg.skip verify