Skip to content

chore: expose Report so traits can be implemented for it (#74) #399

chore: expose Report so traits can be implemented for it (#74)

chore: expose Report so traits can be implemented for it (#74) #399

name: Modsurfer Action
on: [push, pull_request, workflow_dispatch]
jobs:
check-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: modsurfer validate
id: validate-should-fail
continue-on-error: true
uses: dylibso/modsurfer-validate-action@main
with:
path: test/spidermonkey.wasm
check: test/mod.yaml
- name: check failure (expected)
if: job.steps.validate-should-fail.status == failure()
run: exit 0
- name: check success (unexpected)
if: job.steps.validate-should-fail.status == success()
run: exit 1