Skip to content

Update ossf/scorecard-action action to v2.4.0 #5135

Update ossf/scorecard-action action to v2.4.0

Update ossf/scorecard-action action to v2.4.0 #5135

name: Reproducible build
on:
push:
branches:
- main
- 'releases/**'
pull_request:
branches:
- '*'
permissions: read-all
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 1
- name: Restore Gradle cache and display toolchains
uses: ./.github/actions/run-gradle
with:
arguments: |
--quiet \
--configuration-cache
- name: Build and compare checksums
shell: bash
run: |
./gradle/scripts/checkBuildReproducibility.sh