Skip to content
Merged
Changes from 1 commit
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
13 changes: 11 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ concurrency:
# Repo env variable doesn't work for PRs from forks
env:
CI_IMAGE: "paritytech/ci-unified:bullseye-1.88.0-2025-06-27-v202507112050"
POLKADOT_SDK_VERSION: "polkadot-stable2512-1"
FRAME_OMNI_BENCHER_BIN_DIR: ${{ github.workspace }}/.frame-omni-bencher-bin

jobs:
Expand Down Expand Up @@ -161,20 +162,28 @@ jobs:
image: ${{ needs.set-image.outputs.CI_IMAGE }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v6
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rosarp please change this for all

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for other workflows, I guess? (including my integration-tests...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok


- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: "bulletin-cache-benchmarks"
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Cache frame-omni-bencher
uses: actions/cache@v5
id: frame-omni-bencher-cache
with:
path: ${{ env.FRAME_OMNI_BENCHER_BIN_DIR }}
key: frame-omni-bencher-${{ runner.os }}-${{ env.POLKADOT_SDK_VERSION }}

- name: Download frame-omni-bencher
if: steps.frame-omni-bencher-cache.outputs.cache-hit != 'true'
run: |
mkdir -p $FRAME_OMNI_BENCHER_BIN_DIR
cd $FRAME_OMNI_BENCHER_BIN_DIR
echo "Downloading frame-omni-bencher..."
curl -L -o frame-omni-bencher https://github.com/paritytech/polkadot-sdk/releases/latest/download/frame-omni-bencher
curl -L -o frame-omni-bencher "https://github.com/paritytech/polkadot-sdk/releases/download/${POLKADOT_SDK_VERSION}/frame-omni-bencher"
chmod +x frame-omni-bencher
./frame-omni-bencher --version
echo "${FRAME_OMNI_BENCHER_BIN_DIR}" >> $GITHUB_PATH
Expand Down