Implement StateEvents to register actions when a State is entered / e… #358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
paths: | |
- "**.gradle" | |
- "**.properties" | |
- "**.java" | |
- "**.toml" | |
- "**.xml" | |
- ".github/workflows/*.yml" | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
fullbuild: | |
runs-on: ubuntu-latest | |
name: Java 19 build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: JDK 19 Setup | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 19 | |
- name: D-BUS AT-SPI Installation | |
run: sudo apt-get -y install at-spi2-core | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: | | |
build | |
-x test | |
-PskipSpotless | |
- name: Test | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: ./gradlew jacocoTestReport -PskipSpotless | |
- name: Package Creation | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: jpackage | |
- name: Static Analysis | |
uses: gradle/gradle-build-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
if: ${{!github.event.pull_request.head.repo.fork}} | |
with: | |
arguments: | | |
sonar | |
-PskipSpotless | |
- name: Code Style Validation | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: spotlessCheck |