Skip to content

Commit

Permalink
Test contract workflow (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo <[email protected]>
  • Loading branch information
edulanasca and Eduardo authored Jun 13, 2024
1 parent 358e59e commit 3da8199
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test_contract.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Next.js CI

on:
push:
paths:
- "packages/snfoundry/contracts/**"
pull_request:
paths:
- "packages/snfoundry/contracts/**"

jobs:
snfoundry:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Install scarb
run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.5.4

- name: Install snfoundryup
run: curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh

- name: Install snforge
run: snfoundryup -v 0.23.0

- name: Run snforge tests
run: snforge test
working-directory: ./packages/snfoundry/contracts

0 comments on commit 3da8199

Please sign in to comment.