Skip to content

Commit 6820b4d

Browse files
committed
Clean after build
1 parent 884ef2e commit 6820b4d

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/build-and-test-go.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,35 @@ jobs:
3434
- name: Build SP1 bindings
3535
run: make build_sp1_linux
3636

37+
- name: Clean SP1 build artifacts
38+
run: rm -rf operator/sp1/lib/target
39+
3740
- name: Build Risc Zero go bindings
3841
run: make build_risc_zero_linux
3942

43+
- name: Clean Risc Zero build artifacts
44+
run: rm -rf operator/risc_zero/lib/target
45+
4046
- name: Build Merkle Tree bindings
4147
run: make build_merkle_tree_linux
4248

43-
- name: Build operator
44-
run: go build operator/cmd/main.go
45-
46-
- name: Build aggregator
47-
run: go build aggregator/cmd/main.go
48-
49-
build-mina-bindings:
50-
runs-on: ubuntu-latest
51-
52-
steps:
53-
- uses: actions/checkout@v4
54-
55-
- uses: actions/setup-go@v5
56-
with:
57-
go-version: "1.23"
58-
cache: false
49+
- name: Clean Merkle Tree build artifacts
50+
run: rm -rf operator/merkle_tree/lib/target
5951

6052
- name: Build Mina bindings
6153
run: make build_mina_linux
6254

55+
- name: Clean Mina build artifacts
56+
run: rm -rf operator/mina/lib/target
57+
6358
- name: Build Mina Account bindings
6459
run: make build_mina_account_linux
60+
61+
- name: Clean Mina Account build artifacts
62+
run: rm -rf operator/mina_account/lib/target
63+
64+
- name: Build operator
65+
run: go build operator/cmd/main.go
66+
67+
- name: Build aggregator
68+
run: go build aggregator/cmd/main.go

0 commit comments

Comments
 (0)