Merge branch 'main' of https://github.com/argentlabs/argent-contracts… #20
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: Cairo CI | |
on: push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Getting scarb | |
uses: software-mansion/[email protected] | |
- name: Step 3 - Setting up snfoundry | |
uses: foundry-rs/setup-snfoundry@v3 | |
- name: Step 4 - Running tests | |
run: scarb test | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Getting scarb | |
uses: software-mansion/[email protected] | |
- name: Step 3 - Checking format | |
run: scarb fmt --check |