Skip to content

Merge pull request #51 from GoodforGod/dev #55

Merge pull request #51 from GoodforGod/dev

Merge pull request #51 from GoodforGod/dev #55

Workflow file for this run

name: CI Master
on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
name: Java ${{ matrix.java }} setup
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: ./gradlew classes
- name: Codestyle
run: ./gradlew spotlessCheck
- name: Test
run: ./gradlew test jacocoTestReport
- name: SonarQube
run: ./gradlew sonarqube
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}