Skip to content

chore: use dfinity/setup-dfx github action #2574

chore: use dfinity/setup-dfx github action

chore: use dfinity/setup-dfx github action #2574

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