Skip to content

Commit

Permalink
chore(CI): mpl head step for rust (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella authored Jan 21, 2025
1 parent c231473 commit 98724d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/library_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: false
default: false
type: boolean
mpl-head:
description: "Running on MPL HEAD"
required: false
default: false
type: boolean

jobs:
testRust:
Expand Down Expand Up @@ -59,6 +64,15 @@ jobs:
with:
dafny-version: nightly-2024-12-03-4954170

- name: Update MPL submodule if using MPL HEAD
if: ${{ inputs.mpl-head == true }}
working-directory: submodules/MaterialProviders
run: |
git checkout main
git pull
git submodule update --init --recursive
git rev-parse HEAD
# Remove this after the formatting in Rust starts working
- name: smithy-dafny Rust hacks
shell: bash
Expand Down

0 comments on commit 98724d3

Please sign in to comment.