Updating test vectors for Action Groups #55
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: Check test vectors | |
on: pull_request | |
jobs: | |
verify: | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
kind: ['rust', 'json', 'zcash'] | |
include: | |
- kind: 'rust' | |
extension: 'rs' | |
name: 'Rust' | |
- kind: 'json' | |
extension: 'json' | |
name: 'JSON' | |
- kind: 'zcash' | |
extension: 'json' | |
name: 'Bitcoin-flavoured JSON' | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install gnome-keyring | |
run: sudo apt-get install gnome-keyring | |
- name: Install python 3.9 | |
run: sudo apt-get install python3.9 | |
- name: Install poetry | |
run: pip install --user poetry | |
- name: Set Python 3.9 as the version to use | |
run: poetry env use $(which python3.9) | |
- name: Install dependencies | |
run: poetry install --no-root | |
- name: Regenerate test vectors | |
run: ./regenerate.sh ${{ matrix.kind }} ${{ matrix.extension }} | |
- name: Verify there are no changes | |
run: git diff; git ls-files --others --exclude-standard; test -z "$(git status --porcelain)" |