Build and Analyse / build-and-analyse (push) Successful in 27s
"feature*" doesn't match branch names containing a slash like feature/ki-review, so the workflow wasn't triggered. refs #2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
704 B
YAML
35 lines
704 B
YAML
name: Build and Analyse
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- 'feature/**'
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
|
|
build-and-analyse:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
|
|
- name: Setup Java and Maven
|
|
uses: ./.gitea/actions/setup-java-maven
|
|
|
|
- name: Build and test
|
|
run: mvn -B verify
|
|
|
|
- name: Publish Test Report
|
|
uses: ./.gitea/actions/publish-report
|
|
if: ${{ always() }}
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|