Changed interface for proof_of_work #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Testing | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
# In master we want to run for every commit, in other branches — only for the last one | |
group: ${{ | |
( github.ref == 'refs/heads/master' && format('{0}/{1}/{2}', github.workflow, github.ref, github.sha) ) | |
|| | |
format('{0}/{1}', github.workflow, github.ref) }} | |
cancel-in-progress: true | |
jobs: | |
handle-syncwith: | |
if: github.event_name == 'pull_request' | |
name: Call Reusable SyncWith Handler | |
uses: NilFoundation/ci-cd/.github/workflows/reusable-handle-syncwith.yml@v1.2.1 | |
with: | |
ci-cd-ref: 'v1.1.2' | |
secrets: inherit | |
test-linux: | |
name: Linux Crypto3 Testing | |
uses: ./.github/workflows/crypto3-testing-linux.yml | |
needs: | |
- handle-syncwith | |
if: | | |
always() && !cancelled() && | |
(needs.handle-syncwith.result == 'success' || needs.handle-syncwith.result == 'skipped') | |
secrets: inherit | |
with: | |
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | |
test-mac: | |
name: macOS Crypto3 Testing | |
uses: ./.github/workflows/crypto3-testing-mac.yml | |
needs: | |
- handle-syncwith | |
if: | | |
always() && !cancelled() && | |
(needs.handle-syncwith.result == 'success' || needs.handle-syncwith.result == 'skipped') | |
secrets: inherit | |
with: | |
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} |