Skip to content

Commit b74777e

Browse files
gogo2464drspacemn
andauthored
testing cicd (#141)
* Testing cicd * readme fmt * workflow fmt --------- Co-authored-by: drspacemn <[email protected]>
1 parent 842ee5a commit b74777e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test-bindings.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
permissions: read-all
10+
11+
jobs:
12+
check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: asdf-vm/actions/install@v3
18+
19+
- run: scarb fmt --check
20+
21+
- name: build with scarb
22+
run: scarb build
23+
24+
- name: build bindings with cargo
25+
run: cd bindings ; cargo build
26+
27+
- name: test bindings
28+
run: snforge test

0 commit comments

Comments
 (0)