Skip to content

Commit

Permalink
chore: change wasm injector run command (#17)
Browse files Browse the repository at this point in the history
* chore: change wasm injector run command

* fix: validate_block

* fix: update actions checkout version 3
  • Loading branch information
mikirov authored and dimitrovmaksim committed Aug 11, 2023
1 parent f960c44 commit b319141
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
ref: feat/cicd
Expand Down Expand Up @@ -106,10 +106,10 @@ jobs:
run-tests:
runs-on: ubuntu-latest
needs: check
if: needs.check.outputs.new_release == 'true' || github.event_name == 'push'
if: needs.check.outputs.new_release == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

Expand Down Expand Up @@ -189,9 +189,9 @@ jobs:
- name: Run wasm-injector
run: |
wasm-injector convert fetched.wasm ./wasm/orig.wasm.hex --hexified
wasm-injector inject stack-overflow fetched.wasm ./wasm/stack-overflow.wasm.hex --hexified
wasm-injector inject heap-overflow fetched.wasm ./wasm/heap-overflow.wasm.hex --hexified
wasm-injector inject infinite-loop fetched.wasm ./wasm/infinite-loop.wasm.hex --hexified
wasm-injector inject stack-overflow validate_block fetched.wasm ./wasm/stack-overflow.wasm.hex --hexified
wasm-injector inject heap-overflow validate_block fetched.wasm ./wasm/heap-overflow.wasm.hex --hexified
wasm-injector inject infinite-loop validate_block fetched.wasm ./wasm/infinite-loop.wasm.hex --hexified
- name: Set up Julia
uses: julia-actions/setup-julia@v1
Expand Down

0 comments on commit b319141

Please sign in to comment.