Skip to content

Bump the alldependencies group across 1 directory with 8 updates #1032

Bump the alldependencies group across 1 directory with 8 updates

Bump the alldependencies group across 1 directory with 8 updates #1032

Workflow file for this run

name: Build cwms-data-api-client
on:
push:
pull_request:
branches:
- main
jobs:
build:
name: build and test
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: setup java
uses: actions/setup-java@v4
with:
java-version: '21'
java-package: jdk
distribution: 'temurin'
- name: build and test
id: thebuild
run: ./gradlew build --info --init-script init.gradle
- name: Setup .NET Core # Required to execute ReportGenerator
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x
dotnet-quality: 'ga'
- name: ReportGenerator
uses: danielpalme/[email protected]
with:
reports: cwms-aaa-client/build/reports/jacoco/test/jacocoTestReport.xml;cwms-http-client/build/reports/jacoco/test/jacocoTestReport.xml;cwms-radar-client/build/reports/jacoco/test/jacocoTestReport.xml
targetdir: .github/coveragereport
reporttypes: Html;MarkdownSummaryGithub;Badges
- name: Upload coverage report artifact
uses: actions/[email protected]
with:
name: CoverageReport # Artifact name
path: .github/coveragereport # Directory containing files to upload
- name: Commit and push Badges
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/main'
run: |
cd .github/coveragereport
if [[ `git status --porcelain badge_*coverage.svg` ]]; then
git config --global user.name 'builduser'
git config --global user.email '[email protected]'
git add badge_*coverage.svg
git commit -m "Autogenerated JaCoCo coverage badge" badge_*coverage.svg
git push
fi