From b74777e5fb479e5b4aa5a1419135e0826343fc37 Mon Sep 17 00:00:00 2001 From: gogo2464 <57051187+gogo2464@users.noreply.github.com> Date: Wed, 22 May 2024 21:46:50 +0200 Subject: [PATCH] testing cicd (#141) * Testing cicd * readme fmt * workflow fmt --------- Co-authored-by: drspacemn --- .github/workflows/test-bindings.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test-bindings.yml diff --git a/.github/workflows/test-bindings.yml b/.github/workflows/test-bindings.yml new file mode 100644 index 0000000..e00625e --- /dev/null +++ b/.github/workflows/test-bindings.yml @@ -0,0 +1,28 @@ +name: build + +on: + workflow_dispatch: + push: + branches: + - main + pull_request: +permissions: read-all + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: asdf-vm/actions/install@v3 + + - run: scarb fmt --check + + - name: build with scarb + run: scarb build + + - name: build bindings with cargo + run: cd bindings ; cargo build + + - name: test bindings + run: snforge test