Introduce org.junit.start
module
#8603
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
name: Reproducible build | |
on: | |
push: | |
branches: | |
- main | |
- 'releases/**' | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
# Cancels in-progress runs only for pull requests | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: {} | |
env: | |
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | |
jobs: | |
check_build_reproducibility: | |
name: 'Check build reproducibility' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- name: Restore Gradle cache and display toolchains | |
uses: ./.github/actions/run-gradle | |
with: | |
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
arguments: | | |
--quiet \ | |
--no-configuration-cache # Disable configuration cache due to https://github.com/diffplug/spotless/issues/2318 | |
- name: Build and compare checksums | |
shell: bash | |
run: ./.github/scripts/checkBuildReproducibility.sh |