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