Skip to content

Fixes #55 - Remove Technical Debt badge #69

Fixes #55 - Remove Technical Debt badge

Fixes #55 - Remove Technical Debt badge #69

Workflow file for this run

name: build
on:
push:
branches:
- '*'
tags-ignore:
- 'v*'
pull_request:
branches:
- current
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [ '17', '18-ea' ]
os: [ubuntu-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn --no-transfer-progress install
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Analyze with SonarCloud
run: |
mvn -B -ntp install verify site \
sonar:sonar -Dsonar.projectKey=manorrock_sardine \
-Dsonar.organization=manorrock-1 -Dsonar.host.url=https://sonarcloud.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}