diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index f7228c1..6630d12 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -21,6 +21,7 @@ jobs: solidity-compat: runs-on: buildjet-16vcpu-ubuntu-2204 steps: + - run: echo ${{ github.action }} - uses: actions/checkout@v4 with: repository: lurk-lab/ci-workflows @@ -39,7 +40,8 @@ jobs: id: commit if: steps.solidity-test.outcome != 'success' run: | - if [[ -s ${{ github.event.pull_request }} ]]; then + echo ${{ github.event.action }} + if [[ ${{ github.event.action }} == "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!() } }