diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index f7228c1..c024b98 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -39,7 +39,7 @@ jobs: id: commit if: steps.solidity-test.outcome != 'success' run: | - if [[ -s ${{ github.event.pull_request }} ]]; then + if [[ ${{ github.event_name }} == "pull_request" ]]; then SHA=${{ github.event.pull_request.head_sha }} else SHA=${{ github.event.merge_group.head_sha }} diff --git a/src/test.rs b/src/lib.rs similarity index 82% rename from src/test.rs rename to src/lib.rs index df6664b..0dd6a4e 100644 --- a/src/test.rs +++ b/src/lib.rs @@ -3,6 +3,6 @@ mod test { #[ignore] #[test] fn test_solidity_compatibility_ipa() { - assert!(true) + panic!() } }