Skip to content

Bump com.github.tomakehurst:wiremock-jre8 from 2.27.2 to 2.35.1 in /innersource-repository-scanner #54

Bump com.github.tomakehurst:wiremock-jre8 from 2.27.2 to 2.35.1 in /innersource-repository-scanner

Bump com.github.tomakehurst:wiremock-jre8 from 2.27.2 to 2.35.1 in /innersource-repository-scanner #54

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Generate Test Coverage Badge for Scanner Module
id: jacocoMod1
uses: cicirello/jacoco-badge-generator@v2
with:
jacoco-csv-file: innersource-repository-scanner/target/site/jacoco/jacoco.csv
coverage-badge-filename: scanner-coverage.svg
- name: Commit Test Coverage badges (if changed)
run: |
if [[ `git status --porcelain` ]]; then
git config --global user.name 'mmadson'
git config --global user.email '[email protected]'
git add -A
git commit -m "Autogenerated Test Coverage Badge"
git push
fi