feat(target_chains/near): add reproducible build #82
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: Test Near Contract | |
| on: | |
| pull_request: | |
| paths: | |
| - target_chains/near/** | |
| - wormhole_attester/sdk/rust/** | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - target_chains/near/** | |
| - wormhole_attester/sdk/rust/** | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Workspace test | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: target_chains/near/receiver | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Test | |
| run: ./workspace-test.sh | |
| reproducible-build: | |
| name: Reproducible build | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: target_chains/near/receiver | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: cargo install --locked [email protected] | |
| - run: cargo near build reproducible-wasm |