Skip to content

New workflow action and new fragments support in htmlflow-kotlin #59

New workflow action and new fragments support in htmlflow-kotlin

New workflow action and new fragments support in htmlflow-kotlin #59

Workflow file for this run

name: Build
on:
push:
branches:
- master
- development
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: SonarCloud Analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify sonar:sonar -Dgpg.skip=true -Dsonar.projectKey=fmcarvalho-xmlet:HtmlFlow -Dsonar.organization=fmcarvalho-xmlet