Skip to content

[pull] develop from datengaertnerei:develop #356

[pull] develop from datengaertnerei:develop

[pull] develop from datengaertnerei:develop #356

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: maven-merge-check
on:
pull_request:
permissions: read-all
jobs:
build:
name: merge status check
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: audit #outbound hosts constantly subject to change by action providers
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up JDK 21
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
java-version: 21
distribution: 'temurin'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@48c3e2675613624ea7978e5d132169f97bc3b578
with:
languages: javascript, python, java
- name: Build with Maven
run: |
export OSM_IMPORT_FILE=https://github.com/datengaertnerei/test-data-service/raw/develop/data/osm-small.pbf
./mvnw -B test --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@48c3e2675613624ea7978e5d132169f97bc3b578