checking the blockhash and target with int values instead of hex #29
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: Autograding Tests | |
'on': | |
- push | |
- workflow_dispatch | |
- repository_dispatch | |
permissions: | |
checks: write | |
actions: read | |
contents: read | |
jobs: | |
run-autograding-tests: | |
runs-on: ubuntu-latest | |
if: github.actor != 'github-classroom[bot]' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Download mempool | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
owner: 'SummerOfBitcoin' | |
repository: 'code-challenge-2024-mempool' | |
- name: Validate block | |
id: validate-block | |
uses: SummerOfBitcoin/[email protected] | |
with: | |
test-name: 'Validate block ' | |
command: chmod +x ./run.sh && ./run.sh | |
timeout: 10 | |
max-fee: 20616923 | |
max-score: 100 | |
passing-score: 60 | |
- name: Autograding Reporter | |
uses: SummerOfBitcoin/[email protected] | |
env: | |
VALIDATE-BLOCK_RESULTS: "${{steps.validate-block.outputs.result}}" | |
with: | |
runners: validate-block |