Skip to content

chore(deps): bump commons-io:commons-io from 2.11.0 to 2.14.0 #248

chore(deps): bump commons-io:commons-io from 2.11.0 to 2.14.0

chore(deps): bump commons-io:commons-io from 2.11.0 to 2.14.0 #248

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
name: Run test cases
runs-on: ubuntu-latest
steps:
- name: Checkout github branch
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Check linting
run: mvn checkstyle:check
- name: Test
run: mvn --batch-mode --update-snapshots verify
- name: Check project version
run: .ci/scripts/check-project-version.sh
- name: Install gpg key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | base64 --decode | gpg --batch --import
- name: Maven deploy
run: |
mvn --no-transfer-progress --batch-mode \
-Dgpg.passphrase='${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}' \
-DskipTests deploy -P release
env:
MAVEN_USERNAME: ${{ secrets.D11_NEXUS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.D11_NEXUS_PASSWORD }}
- name: Upload to codecov
uses: codecov/[email protected]
with:
file: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true