Skip to content

Commit e78ad91

Browse files
workflows
1 parent b70aa02 commit e78ad91

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/contract.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run tests
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Setup Scarb
12+
uses: software-mansion/setup-scarb@v1
13+
with:
14+
scarb-lock: ./Scarb.lock
15+
16+
- name: Build contracts
17+
run: scarb build
18+
19+
- name: Run scarb fmt --check
20+
run: scarb fmt --check

0 commit comments

Comments
 (0)