Skip to content

Commit

Permalink
disable spec check
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Jun 5, 2024
1 parent 07f2535 commit 75919c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
- name: Check targets are installed correctly
run: rustup target list --installed

- name: Build EXTRA_ARGS
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: |
EXTRA_FLAGS+="--disable-spec-check"
echo "Disabling the spec check since we are not releasing"
echo "Flags: $EXTRA_FLAGS"
echo "EXTRA_ARGS=$EXTRA_FLAGS" >> $GITHUB_ENV
- name: Build ${{ matrix.runtime }} runtime
run: cargo build --release --locked --package ${{ matrix.runtime }}-runtime --features try-runtime

Expand All @@ -49,4 +57,4 @@ jobs:
RUNTIME_BLOB_NAME=$(echo $PACKAGE_NAME | sed 's/-/_/g').compact.compressed.wasm
RUNTIME_BLOB_PATH=./target/release/wbuild/$PACKAGE_NAME/$RUNTIME_BLOB_NAME
npx @acala-network/chopsticks@beta try-runtime -c ${{ matrix.runtime }} --checks All --runtime $RUNTIME_BLOB_PATH
npx @acala-network/chopsticks@beta try-runtime -c ${{ matrix.runtime }} --checks All --runtime $RUNTIME_BLOB_PATH ${{ env.EXTRA_ARGS }}

0 comments on commit 75919c7

Please sign in to comment.