Skip to content

Update dependency org.yaml:snakeyaml to v2.1 {patch} #882

Update dependency org.yaml:snakeyaml to v2.1 {patch}

Update dependency org.yaml:snakeyaml to v2.1 {patch} #882

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: JavaCI-PR
on:
push:
branches: [ main ]
paths:
- 'gradle/libs.versions.toml'
- 'gradle/verification-metadata.xml'
- 'lowkey-vault-docker/src/docker/Dockerfile'
- 'gradle/wrapper/gradle-wrapper.properties'
- 'config/ossindex/exclusions.txt'
- '.github/workflows/gradle-ci.yml'
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- '**/README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'pull_request_template.md'
- '.lift/.toml'
- '**/.lift/.toml'
- 'SECURITY.md'
- 'LICENSE'
- '.github/ISSUE_TEMPLATE/**'
- '.github/assets/**'
- '.github/workflows/**'
- '!.github/workflows/gradle-ci.yml'
- '.github/pr-labeler.yml'
- 'renovate.json'
- '.whitesource'
- 'gradle/libs.versions.toml'
- 'config/ossindex/exclusions.txt'
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
# Set up build environment
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
distribution: temurin
java-version: 11
- name: Decode key
run: |
mkdir -p ${{ runner.temp }}/.gnupg/
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 --decode > ${{ runner.temp }}/.gnupg/secring.gpg
- name: Build with Gradle
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2.7.0
with:
arguments: |
printVersion build sign
-Psigning.keyId=${{ secrets.SIGNING_KEY_ID }}
-Psigning.password=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
-Psigning.secretKeyRingFile=${{ runner.temp }}/.gnupg/secring.gpg
- name: 'Clean-up GPG key'
if: always()
run: |
rm -rf ${{ runner.temp }}/.gnupg/
- name: 'Upload Test reports - App'
if: always()
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: test-report-lowkey-vault-app
path: |
lowkey-vault-app/build/reports/tests/test
lowkey-vault-app/build/reports/abort-mission/abort-mission-report.html
retention-days: 5
- name: 'Upload Test reports - Docker'
if: always()
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: test-report-lowkey-vault-docker
path: |
lowkey-vault-docker/build/reports/cucumber
lowkey-vault-docker/build/reports/abort-mission/abort-mission-report.html
retention-days: 5
- name: 'Upload Test reports - Testcontainers'
if: always()
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: test-report-lowkey-vault-testcontainers
path: lowkey-vault-testcontainers/build/reports/tests/test
retention-days: 5
- name: Upload coverage to Codecov - App
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./lowkey-vault-app/build/reports/jacoco/report.xml
flags: app
- name: Upload coverage to Codecov - Client
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./lowkey-vault-client/build/reports/jacoco/report.xml
flags: client
- name: Upload coverage to Codecov - Testcontainers
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./lowkey-vault-testcontainers/build/reports/jacoco/report.xml
flags: testcontainers