Skip to content

Commit

Permalink
feat: ci test added
Browse files Browse the repository at this point in the history
  • Loading branch information
eddnewgate committed Jul 26, 2024
1 parent 721718a commit 979dc10
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test
name: Build

on: [pull_request]

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

jobs:
Expand All @@ -9,8 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- uses: foundry-rs/setup-snfoundry@v2
with:
starknet-foundry-version: 0.14.0
- name: Run cairo tests
run: snforge test
- name: Check cairo format
run: scarb fmt --check
working-directory: contracts
- name: Build cairo programs
run: scarb build
working-directory: contracts

0 comments on commit 979dc10

Please sign in to comment.