TestPR #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Analysis-of-Endpoint-Connections | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
paths: | |
- 'src/main/java/**' | |
- 'src/main/webapp/**' | |
jobs: | |
analysis-of-endpoint-connections: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get list of modified files | |
run: | | |
git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD > modified_files.txt | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'adopt' | |
- name: Run analysis-of-endpoint-connections | |
run: | | |
./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)" |