Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
switch to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
s3krit committed Apr 13, 2023
1 parent c313afd commit 59f0ebf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/check-weights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check weight changes
shell: bash
run: |
cargo install --git https://github.com/ggwpez/substrate-weight-compare swc
./scripts/ci/github/check_weights_swc.sh ${{ matrix.runtime }} "$LAST_RELEASE" | tee swc_output_${{ matrix.runtime }}.md
- uses: addnab/docker-run-action@v3
with:
registry: gcr.io
image: ggwpez/swc:sha-1e66f1b
options: -v ${{ github.workspace }}:/polkadot -w /polkadot
run: |
/polkadot/scripts/ci/github/check_weights_swc.sh ${{ matrix.runtime }} "$LAST_RELEASE" | tee /polkadot/swc_output_${{ matrix.runtime }}.md
- name: Add comment
uses: thollander/actions-comment-pull-request@v2
with:
Expand Down

0 comments on commit 59f0ebf

Please sign in to comment.