Bump ch.qos.logback:logback-classic from 1.2.11 to 1.2.13 #107
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
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: maven | |
- name: Checkstyle lint check | |
run: mvn checkstyle:check | |
test: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: maven | |
- name: Maven test | |
run: mvn --batch-mode verify | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.DEV_BOT_TOKEN }} | |
SLACK_SIGNING_SECRET: ${{ secrets.DEV_SIGNING_SECRET }} | |
coverage: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: maven | |
- name: Jacoco coverage | |
run: mvn --batch-mode verify -P coverage | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.DEV_BOT_TOKEN }} | |
SLACK_SIGNING_SECRET: ${{ secrets.DEV_SIGNING_SECRET }} | |
- name: Add coverage to PR | |
id: jacoco | |
uses: madrapps/[email protected] | |
with: | |
paths: ${{ github.workspace }}/target/site/jacoco/jacoco.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
min-coverage-overall: 60 | |
min-coverage-changed-files: 60 |