Update test.yaml. #36
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: "Setup Rust" | |
uses: ATiltedTree/setup-rust@v1 | |
with: | |
rust-version: nightly | |
components: clippy | |
- name: Download circom | |
run: wget https://github.com/iden3/circom/releases/latest/download/circom-linux-amd64 -O /usr/local/bin/circom | |
- name: Update permission | |
run: chmod +x /usr/local/bin/circom | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Install dependencies | |
run: yarn | |
# - name: Create build folder | |
# run: mkdir build | |
# - name: Run Linters | |
# run: yarn lint | |
- name: Run tests | |
run: yarn test |