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

Commit

Permalink
fix: update compilation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
omarespejel committed Nov 22, 2023
1 parent ab60b45 commit 52e9003
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/ci.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/scarb-cairo-build-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit 52e9003

Please sign in to comment.