chore(deps): bump org.objenesis:objenesis from 3.3 to 3.4 #382
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 wiclax4j | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: Build JAR | |
run: ./gradlew jar --info --stacktrace --console=plain --build-cache --no-daemon | |
- name: Run tests | |
run: ./gradlew test jacocoTestReport --info --stacktrace --console=plain --build-cache --no-daemon | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
continue-on-error: true | |
with: | |
files: build/test-results/**/*.xml | |
- name: Run static analysis | |
if: github.ref == 'refs/heads/master' | |
run: ./gradlew sonarqube --info --stacktrace --console=plain --build-cache --no-daemon | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- name: Upload JAR | |
if: github.ref == 'refs/heads/master' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: wiclax4j | |
path: build/libs/*.jar |