Stop committing lock files; add weekly CI safety net #125
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: icrc2-swap | |
| on: | |
| schedule: | |
| - cron: "30 6 * * 1" # weekly build to catch dependency drift (lock files are gitignored) | |
| push: | |
| branches: [master] | |
| pull_request: | |
| paths: | |
| - motoko/icrc2-swap/** | |
| - .github/workflows/icrc2-swap.yml | |
| - .github/workflows/_run-example.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| motoko-icrc2-swap: | |
| uses: ./.github/workflows/_run-example.yml | |
| with: | |
| language: motoko | |
| working-directory: motoko/icrc2-swap | |
| run: | | |
| icp network start -d | |
| bash deploy.sh | |
| bash test.sh |