fix u256 #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: Cairo CI | |
on: push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Scarb | |
id: get-scarb-version | |
run: | |
echo "::set-output name=SCARB_VERSION::$(awk '{print $2}' .tool-versions)" | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: ${{ steps.get-scarb-version.outputs.SCARB_VERSION }} | |
- run: scarb test | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Scarb | |
id: get-scarb-version | |
run: | |
echo "::set-output name=SCARB_VERSION::$(awk '{print $2}' .tool-versions)" | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: ${{ steps.get-scarb-version.outputs.SCARB_VERSION }} | |
- run: scarb fmt --check |