Skip to content

Bump guava from 30.0-jre to 32.0.0-jre in /innersource-repository-scanner #53

Bump guava from 30.0-jre to 32.0.0-jre in /innersource-repository-scanner

Bump guava from 30.0-jre to 32.0.0-jre in /innersource-repository-scanner #53

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