Skip to content

chore: update default dfx version to 0.16.0 #2599

chore: update default dfx version to 0.16.0

chore: update default dfx version to 0.16.0 #2599

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