Add SepoliaTokens and MainnetTokens modules with token constants #53
This file contains hidden or 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, pull_request] | |
permissions: read-all | |
jobs: | |
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/setup-scarb@v1.3.2 | |
- name: Step 3 - Checking format | |
run: scarb fmt --check | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Getting scarb | |
uses: software-mansion/setup-scarb@v1.3.2 | |
- name: Step 3 - Building | |
run: scarb build | |
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/setup-scarb@v1.3.2 | |
- name: Step 3 - Setting up snfoundry | |
uses: foundry-rs/setup-snfoundry@v3 | |
- name: Step 4 - Running tests | |
run: scarb test | |