From 51627b30e53290691aa286895ea9d4f6fbb529fd Mon Sep 17 00:00:00 2001 From: Milan Cermak Date: Fri, 7 Jul 2023 16:25:23 +0200 Subject: [PATCH] ci: scarb --- .github/workflows/scarb.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/scarb.yml diff --git a/.github/workflows/scarb.yml b/.github/workflows/scarb.yml new file mode 100644 index 0000000..75b494a --- /dev/null +++ b/.github/workflows/scarb.yml @@ -0,0 +1,21 @@ +name: Scarb + +on: + push: + branches: + - main + paths-ignore: + - "**.md" + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + - "**.md" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: software-mansion/setup-scarb@v1 + - run: scarb fmt --check + - run: scarb test