Update to 2.0.0 #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: App build | |
| on: | |
| pull_request: | |
| types: [synchronize, opened, reopened, ready_for_review, unlabeled] | |
| env: | |
| dfx_version: 0.30.1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - uses: caffeinelabs/setup-mops@v1 | |
| - name: Install dfx | |
| uses: dfinity/setup-dfx@main | |
| with: | |
| dfx-version: ${{ env.dfx_version }} | |
| - name: Confirm dfx version | |
| run: dfx --version | |
| - name: Make sure moc is installed | |
| run: mops toolchain bin moc || mops toolchain use moc latest | |
| - name: Show mops version | |
| run: mops -v | |
| - name: Run mops test | |
| run: mops test | |
| - name: Run example | |
| working-directory: ./example | |
| run: mops bench |