Skip to content

[pull] develop from datengaertnerei:develop #337

[pull] develop from datengaertnerei:develop

[pull] develop from datengaertnerei:develop #337

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@163217dfcd28294438ea1c1c149cfaf66eec283e
- 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@0a30541440699f21b772e5ef95c912f097514855
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@0a30541440699f21b772e5ef95c912f097514855