Skip to content

fix: [VER-2721] rust/basic_dao #3190

fix: [VER-2721] rust/basic_dao

fix: [VER-2721] rust/basic_dao #3190

name: motoko-factorial
on:
push:
branches:
- master
pull_request:
paths:
- motoko/factorial/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/motoko-factorial-example.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
motoko-factorial-example-darwin:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Motoko Factorial Darwin
run: |
dfx start --background
pushd motoko/factorial
make test
popd
motoko-factorial-example-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Motoko Factorial Linux
run: |
dfx start --background
pushd motoko/factorial
make test
popd