chore: bump contract version #44
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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| name: Contracts (NEAR) | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - job-name: build all rust contracts | |
| cmd: | | |
| cd nearBridge | |
| ./build.sh | |
| git status | |
| changed_files=$(git status --porcelain --untracked-files=no | wc -l) | |
| if [ $changed_files -gt 0 ]; then | |
| echo 'contract changed, please rebuild contract' | |
| exit 1 | |
| fi | |
| timeout-minutes: 40 | |
| name: ${{ matrix.job-name }} | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@v3 | |
| - name: Execute | |
| run: ${{ matrix.cmd }} | |
| timeout-minutes: ${{ matrix.timeout-minutes }} |