Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

fix: update compilation workflow #1

fix: update compilation workflow

fix: update compilation workflow #1

name: Scarb Cairo Build and Format
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install Scarb
- name: Install Scarb
run: |
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh
# Build and format all .cairo files
- name: Build and Format Cairo Files
run: |
scarb build
scarb fmt