feat: CRP-2844 CRP-2850 add a Motoko backend for password manager w/ metadata and prepare for ICP Ninja #84
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: Backend Motoko Format Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| paths: | |
| - backend/mo/** | |
| - .github/workflows/provision-linux.sh | |
| - .github/workflows/backend-motoko-format-check.yml | |
| jobs: | |
| backend-motoko-format-check-linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ZenVoich/setup-mops@v1 | |
| with: | |
| mops-version: 1 | |
| - name: Provision Linux | |
| run: bash .github/workflows/provision-linux.sh | |
| - name: Run MOPS Format Check Linux | |
| run: | | |
| for d in $(find . -type d -name '.mops' -prune -o -type f -name 'mops.toml' -printf '%h\n'); do | |
| cd $d | |
| echo "Checking directory: $(pwd)" && mops format --check | |
| cd - | |
| done |