updating validate definition and submission (#141) #135
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: Validate Test Vectors | |
on: | |
push: | |
paths: | |
- 'test-vectors/**' | |
- 'scripts/test-vector-validation/**' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install dependencies for test vector validation script | |
run: | | |
cd scripts/test-vector-validation | |
npm install | |
- name: Validate test vectors | |
run: | | |
cd scripts/test-vector-validation | |
node main.js |