Skip to content

Upgrade MN to 3.10.1 and upgrade Bouncy Castle Deps #207

Upgrade MN to 3.10.1 and upgrade Bouncy Castle Deps

Upgrade MN to 3.10.1 and upgrade Bouncy Castle Deps #207

Workflow file for this run

# Copyright 2023 DDS Permissions Manager Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Build And Test With Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
env:
MICRONAUT_ENVIRONMENTS: h2,dev,dev-data
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: 'app:build'
- name: Build with Gradle - MySQL Datasource
if: ${{ success() }}
env:
DPM_DATABASE_DEPENDENCY: mysql:mysql-connector-java:8.0.31
DPM_DB_TYPE: mysql
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: 'app:build'
- name: Build with Gradle - PostgreSQL Datasource
if: ${{ success() }}
env:
DPM_DATABASE_DEPENDENCY: org.postgresql:postgresql:42.4.2
DPM_DB_TYPE: postgres
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: 'app:build'
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: 'app/build/test-results/**/*.xml'
detailed_summary: true
include_passed: true