Bump the github-actions group with 2 updates (#447) #234
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: "Performance Regression Tests" | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| run_benchmarks: | |
| name: Performance Regression Tests | |
| runs-on: [self-hosted, 1ES.Pool=gha-scitt-pool] | |
| container: | |
| image: mcr.microsoft.com/azurelinux/base/core:3.0 | |
| steps: | |
| - name: Setup environment | |
| run: | | |
| gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY | |
| tdnf update -y | |
| tdnf install -y --disablerepo azurelinux-official-ms-non-oss build-essential ca-certificates git | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| # Work-around for https://github.com/actions/runner/issues/2033 | |
| - name: Work around git safe.directory in container | |
| run: chown -R $(id -u):$(id -g) $PWD | |
| - name: Build and run perf tests | |
| run: | | |
| ./scripts/setup-env.sh | |
| PRESET=bench ./build.sh | |
| ./run_functional_tests.sh -m bencher | |
| shell: bash | |
| - uses: bencherdev/bencher@main | |
| - name: Track base branch benchmarks with Bencher | |
| run: | | |
| bencher run \ | |
| --project scitt-ccf-ledger \ | |
| --token '${{ secrets.BENCHER_API_TOKEN }}' \ | |
| --branch main \ | |
| --testbed gha-scitt-pool \ | |
| --adapter json \ | |
| --err \ | |
| --file bencher.json |