Skip to content

Commit 4be1ea6

Browse files
committed
feat(target_chains/near): add reproducible build to ci
1 parent f79e2bb commit 4be1ea6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci-near-contract.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ env:
1616
CARGO_TERM_COLOR: always
1717

1818
jobs:
19-
build:
19+
test:
20+
name: Workspace test
2021
runs-on: ubuntu-latest
2122
defaults:
2223
run:
@@ -25,3 +26,13 @@ jobs:
2526
- uses: actions/checkout@v2
2627
- name: Test
2728
run: ./workspace-test.sh
29+
reproducible-build:
30+
name: Reproducible build
31+
runs-on: ubuntu-latest
32+
defaults:
33+
run:
34+
working-directory: target_chains/near/receiver
35+
steps:
36+
- uses: actions/checkout@v2
37+
- run: cargo +stable install --locked cargo-near@0.13.3
38+
- run: cargo near build reproducible-wasm

0 commit comments

Comments
 (0)