Skip to content

Commit 4257069

Browse files
committed
ci: test composition
1 parent 833f844 commit 4257069

File tree

2 files changed

+298
-280
lines changed

2 files changed

+298
-280
lines changed

.github/actions/avalanchego-setup-action/action.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ runs:
3232
repository: 'ava-labs/avalanchego'
3333
ref: ${{ inputs.avalanchego }}
3434
path: ${{ inputs.checkout-path }}
35-
- name: Setup Firewood FFI
36-
if: inputs.firewood != ''
37-
id: firewood
38-
uses: ava-labs/firewood/.github/actions/build-action@composable-ci-action
39-
with:
40-
version: ${{ inputs.firewood }}
4135
- name: Update Coreth dependency
4236
if: inputs.coreth != ''
4337
shell: bash
@@ -52,18 +46,8 @@ runs:
5246
run: |
5347
echo "Updating LibEVM to version: ${{ inputs.libevm }}"
5448
go get github.com/ava-labs/libevm@${{ inputs.libevm }}
55-
- name: Update Firewood FFI
49+
- name: Setup Firewood FFI
5650
if: inputs.firewood != ''
5751
shell: bash
5852
working-directory: ${{ inputs.checkout-path }}
59-
run: |
60-
echo "Replacing Firewood FFI with: ${{ steps.firewood.outputs.ffi-path }}"
61-
go mod edit -replace github.com/ava-labs/firewood-go-ethhash/ffi=${{ steps.firewood.outputs.ffi-path }}
62-
- name: Finalize dependencies
63-
if: ${{ inputs.firewood != '' || inputs.coreth != '' || inputs.libevm != '' }}
64-
shell: bash
65-
working-directory: ${{ inputs.checkout-path }}
66-
run: |
67-
echo "Finalizing Go module dependencies"
68-
go mod tidy
69-
go mod download
53+
run: ./scripts/setup_firewood.sh ${{ inputs.firewood }}

0 commit comments

Comments
 (0)