diff --git a/.github/workflows/prover-testing.yml b/.github/workflows/prover-testing.yml index 29780c57e..692c9493b 100644 --- a/.github/workflows/prover-testing.yml +++ b/.github/workflows/prover-testing.yml @@ -1,13 +1,6 @@ name: Prover testing CI -on: - workflow_call: - secrets: - SLACK_WEBHOOK_CI_PROVER_FAIL: - required: true - SLACK_WEBHOOK_CI_PROVER_SUCCESS: - required: true - +on: workflow_call env: GOPROXY: "https://proxy.golang.org" @@ -93,50 +86,3 @@ jobs: if: matrix.go-version == '1.20.x' run: | go test -p=1 -tags=nocorset,fuzzlight -timeout=30m -short -race ./... - - slack-workflow-status-failed: - if: failure() - name: Prover notify slack - needs: - - staticcheck - - test - runs-on: [self-hosted, ubuntu-20.04, X64, small] - steps: - - name: Notify slack -- workflow failed - id: slack - uses: slackapi/slack-github-action@v1.23.0 - with: - payload: | - { - "actor": "${{ github.actor }}", - "repo": "${{ github.repository }}", - "status": "FAIL", - "title": "${{ github.event.pull_request.title }}", - "pr": "${{ github.event.pull_request.head.ref }}" - } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_FAIL }} - - slack-workflow-status-success: - if: success() - name: Prover notify slack - needs: - - staticcheck - - test - runs-on: [self-hosted, ubuntu-20.04, X64, small] - steps: - - name: Notify slack -- workflow succeeded - id: slack - uses: slackapi/slack-github-action@v1.23.0 - with: - payload: | - { - "actor": "${{ github.actor }}", - "repo": "${{ github.repository }}", - "status": "SUCCESS", - "title": "${{ github.event.pull_request.title }}", - "pr": "${{ github.event.pull_request.head.ref }}" - } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_SUCCESS }} -