Skip to content

Commit

Permalink
💚 add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Jan 12, 2024
1 parent 2ac05f3 commit aff7625
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/contracts_build.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
16 changes: 16 additions & 0 deletions .github/workflows/contracts_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test

on: [push, pull_request]
permissions: read-all

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- uses: foundry-rs/setup-snfoundry@v2
with:
starknet-foundry-version: 0.12.0
- name: Run cairo tests
run: snforge test unit_tests
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
<strong>Starknet <> Celestia bridge</strong>
</p>

Blobstream Starknet is a port of [Celestia blobstream contracts](https://github.com/celestiaorg/blobstream-contracts) in [Cairo](https://book.cairo-lang.org/) for [Starknet](https://starknet.io/).

> This project is under active development and should not be used in production.
## 🛠️ Build

To build the project, run:
Expand Down

0 comments on commit aff7625

Please sign in to comment.