Skip to content

Commit

Permalink
Merge pull request #12 from mubarak23/ft_github_action
Browse files Browse the repository at this point in the history
setup workflow for building contract code
  • Loading branch information
mubarak23 authored Oct 14, 2024
2 parents 4d8e5c1 + 2715d72 commit 6917a9d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build_contract.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build

on: [push, pull_request]

permissions: read-all

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Check cairo format
run: scarb fmt --check
- name: Build cairo programs
run: scarb build

0 comments on commit 6917a9d

Please sign in to comment.