Init Workflow development for the project #6
Workflow file for this run
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: Lokaler Merge Workflow | ||
on: | ||
# push: | ||
# paths: | ||
# - 'backend/**' | ||
pull_request: | ||
jobs: | ||
merge_locally: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Merge PR into target branch locally | ||
with: | ||
TARGET_BRANCH: ${{ github.base_ref }} | ||
run: git merge ${{ TARGET_BRANCH }} | ||
Check failure on line 22 in .github/workflows/pr.yml GitHub Actions / Lokaler Merge WorkflowInvalid workflow file
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Run local tests | ||
run: mvn --batch-mode --update-snapshots --no-transfer-progress -f backend/pom.xml verify |