fix: ignore an injected HttpHeaders parameter #5
Workflow file for this run
This file contains hidden or 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
| # Builds and tests every pull request. | |
| name: CI | |
| on: | |
| pull_request: | |
| paths-ignore: ['**.md', 'docs/**'] | |
| workflow_dispatch: | |
| # Supersede in-flight runs for the same ref. | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| MAVEN_ARGS: -B --no-transfer-progress -Dmaven.artifact.threads=16 | |
| MAVEN_OPTS: -Xmx3g | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: temurin | |
| cache: maven | |
| # frontend-maven-plugin runs npm install for springdoc-openapi-starter-common-mcp. | |
| - name: Cache npm | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: npm-${{ hashFiles('**/src/main/frontend/package-lock.json') }} | |
| restore-keys: npm- | |
| # -Pci keeps skip.npm=false; -T1C matches the runner's core count. | |
| - name: Test | |
| run: mvn $MAVEN_ARGS -Pci -T1C test |