Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/run-experiments-hibernate-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,27 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure validation scripts network settings
uses: gradle/develocity-oss-projects/.github/actions/configure-validation-scripts-network-settings@main
- name: Mark checkstyle:check as not cacheable
# checkstyle:check is not cache-relocatable because project resources include ${rootProject.directory}
# which fingerprints the entire workspace root tree including target/ dirs from previous builds.
# Upstream PR: https://github.com/hibernate/hibernate-search/pull/5067
run: |
mkdir ~/git-hooks
cat > ~/git-hooks/post-checkout << 'HOOK'
#!/bin/bash
cat >> .mvn/develocity-custom-user-data.groovy << 'GROOVY'

Comment thread
ribafish marked this conversation as resolved.
buildCache.registerMojoMetadataProvider(context -> {
context.withPlugin("maven-checkstyle-plugin", () ->
context.outputs(outputs ->
outputs.notCacheableBecause("checkstyle:check is not cache-relocatable: project resources include the workspace root (https://github.com/hibernate/hibernate-search/pull/5067)")
)
)
Comment thread
ribafish marked this conversation as resolved.
})
GROOVY
Comment thread
ribafish marked this conversation as resolved.
HOOK
chmod +x ~/git-hooks/post-checkout
git config --global core.hooksPath ~/git-hooks
- name: Run experiment 1
uses: gradle/develocity-build-validation-scripts/.github/actions/maven/experiment-1@actions-stable
env:
Expand Down
Loading