Skip to content

Commit 98724d3

Browse files
authored
chore(CI): mpl head step for rust (#1583)
1 parent c231473 commit 98724d3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/library_rust_tests.yml

+14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: false
1515
type: boolean
16+
mpl-head:
17+
description: "Running on MPL HEAD"
18+
required: false
19+
default: false
20+
type: boolean
1621

1722
jobs:
1823
testRust:
@@ -59,6 +64,15 @@ jobs:
5964
with:
6065
dafny-version: nightly-2024-12-03-4954170
6166

67+
- name: Update MPL submodule if using MPL HEAD
68+
if: ${{ inputs.mpl-head == true }}
69+
working-directory: submodules/MaterialProviders
70+
run: |
71+
git checkout main
72+
git pull
73+
git submodule update --init --recursive
74+
git rev-parse HEAD
75+
6276
# Remove this after the formatting in Rust starts working
6377
- name: smithy-dafny Rust hacks
6478
shell: bash

0 commit comments

Comments
 (0)