Skip to content

Commit f76c0c9

Browse files
authored
Merge branch 'main' into parametrise_tests
2 parents 37544c2 + 4a0c389 commit f76c0c9

File tree

3 files changed

+26
-17
lines changed

3 files changed

+26
-17
lines changed

.github/workflows/check.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ concurrency:
2121
# Repo env variable doesn't work for PRs from forks
2222
env:
2323
CI_IMAGE: "paritytech/ci-unified:bullseye-1.88.0-2025-06-27-v202507112050"
24+
POLKADOT_SDK_VERSION: "polkadot-stable2512-1"
2425
FRAME_OMNI_BENCHER_BIN_DIR: ${{ github.workspace }}/.frame-omni-bencher-bin
2526

2627
jobs:
@@ -41,7 +42,7 @@ jobs:
4142
container:
4243
image: ${{ needs.set-image.outputs.CI_IMAGE }}
4344
steps:
44-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4546

4647
- name: Cargo fmt
4748
run: |
@@ -69,7 +70,7 @@ jobs:
6970
image: ${{ needs.set-image.outputs.CI_IMAGE }}
7071
steps:
7172
- name: Checkout sources
72-
uses: actions/checkout@v4
73+
uses: actions/checkout@v6
7374

7475
- name: Rust cache
7576
uses: Swatinem/rust-cache@v2
@@ -93,7 +94,7 @@ jobs:
9394
SKIP_WASM_BUILD: 1
9495
steps:
9596
- name: Checkout sources
96-
uses: actions/checkout@v4
97+
uses: actions/checkout@v6
9798

9899
- name: Rust cache
99100
uses: Swatinem/rust-cache@v2
@@ -117,7 +118,7 @@ jobs:
117118
SKIP_WASM_BUILD: 1
118119
steps:
119120
- name: Checkout sources
120-
uses: actions/checkout@v4
121+
uses: actions/checkout@v6
121122

122123
- name: Rust cache
123124
uses: Swatinem/rust-cache@v2
@@ -161,20 +162,28 @@ jobs:
161162
image: ${{ needs.set-image.outputs.CI_IMAGE }}
162163
steps:
163164
- name: Checkout sources
164-
uses: actions/checkout@v4
165+
uses: actions/checkout@v6
165166

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

173+
- name: Cache frame-omni-bencher
174+
uses: actions/cache@v5
175+
id: frame-omni-bencher-cache
176+
with:
177+
path: ${{ env.FRAME_OMNI_BENCHER_BIN_DIR }}
178+
key: frame-omni-bencher-${{ env.POLKADOT_SDK_VERSION }}
179+
172180
- name: Download frame-omni-bencher
181+
if: steps.frame-omni-bencher-cache.outputs.cache-hit != 'true'
173182
run: |
174183
mkdir -p $FRAME_OMNI_BENCHER_BIN_DIR
175184
cd $FRAME_OMNI_BENCHER_BIN_DIR
176185
echo "Downloading frame-omni-bencher..."
177-
curl -L -o frame-omni-bencher https://github.com/paritytech/polkadot-sdk/releases/latest/download/frame-omni-bencher
186+
curl -L -o frame-omni-bencher "https://github.com/paritytech/polkadot-sdk/releases/download/${POLKADOT_SDK_VERSION}/frame-omni-bencher"
178187
chmod +x frame-omni-bencher
179188
./frame-omni-bencher --version
180189
echo "${FRAME_OMNI_BENCHER_BIN_DIR}" >> $GITHUB_PATH

.github/workflows/integration-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Cache the Polkadot SDK binaries
3939
- name: Cache Polkadot SDK binaries
40-
uses: actions/cache@v3
40+
uses: actions/cache@v5
4141
id: polkadot-sdk-cache
4242
with:
4343
path: ${{ env.POLKADOT_SDK_BIN_DIR }}
@@ -59,7 +59,7 @@ jobs:
5959
6060
# Cache the Zombienet binaries
6161
- name: Cache Zombienet
62-
uses: actions/cache@v3
62+
uses: actions/cache@v5
6363
id: zombienet-cache
6464
with:
6565
path: ${{ env.ZOMBIENET_BIN_DIR }}
@@ -84,7 +84,7 @@ jobs:
8484

8585
steps:
8686
- name: Checkout sources
87-
uses: actions/checkout@v4
87+
uses: actions/checkout@v6
8888

8989
- name: Install Rust toolchain
9090
uses: dtolnay/rust-toolchain@stable
@@ -116,13 +116,13 @@ jobs:
116116
run: cargo install just --locked || true
117117

118118
- name: Cache Polkadot SDK binaries
119-
uses: actions/cache@v3
119+
uses: actions/cache@v5
120120
id: polkadot-sdk-cache
121121
with:
122122
path: ${{ env.POLKADOT_SDK_BIN_DIR }}
123123
key: polkadot-sdk-${{ env.POLKADOT_SDK_VERSION }}-${{ env.POLKADOT_SDK_VERSION_WITH_BULLETIN }}-binaries
124124
- name: Cache Zombienet
125-
uses: actions/cache@v3
125+
uses: actions/cache@v5
126126
id: zombienet-cache
127127
with:
128128
path: ${{ env.ZOMBIENET_BIN_DIR }}

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
path: runtimes/bulletin-polkadot
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

3030
- name: Build ${{ matrix.name }} runtime
3131
id: srtool_build
@@ -43,7 +43,7 @@ jobs:
4343
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.name }}_srtool_output.json
4444
4545
- name: Upload ${{ matrix.name }} wasm
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v6
4747
with:
4848
name: ${{ matrix.name }}-runtime
4949
path: |
@@ -63,7 +63,7 @@ jobs:
6363
runs-on: ${{ matrix.os }}
6464
steps:
6565
- name: Checkout
66-
uses: actions/checkout@v4
66+
uses: actions/checkout@v6
6767

6868
- name: Install Rust toolchain
6969
uses: dtolnay/rust-toolchain@stable
@@ -91,7 +91,7 @@ jobs:
9191
run: cargo build --profile production -p polkadot-bulletin-chain
9292

9393
- name: Upload polkadot-bulletin-chain binary
94-
uses: actions/upload-artifact@v4
94+
uses: actions/upload-artifact@v6
9595
with:
9696
name: ${{ matrix.artifact_name }}
9797
path: target/production/polkadot-bulletin-chain
@@ -101,10 +101,10 @@ jobs:
101101
needs: [build-runtimes, build-node]
102102
steps:
103103
- name: Checkout
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v6
105105

106106
- name: Download all artifacts
107-
uses: actions/download-artifact@v4
107+
uses: actions/download-artifact@v7
108108
with:
109109
path: artifacts
110110

0 commit comments

Comments
 (0)