Skip to content

Commit

Permalink
Fix tests (#426)
Browse files Browse the repository at this point in the history
* Fix tests

* Install cbindgen

* Go mod tidy

---------

Co-authored-by: Jeremy <297323986@qq.com>
  • Loading branch information
Sneh1999 and ImJeremyHe authored Jan 13, 2025
1 parent d874fc4 commit d99a3ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ jobs:
targets: 'wasm32-wasi, wasm32-unknown-unknown'
components: 'rust-src, rustfmt, clippy'

- name: Install cbindgen
run: cargo install cbindgen

- name: Set STYLUS_NIGHTLY_VER environment variable
run: echo "STYLUS_NIGHTLY_VER=+$(rustup toolchain list | grep '^nightly' | head -n1 | cut -d' ' -f1)" >> "$GITHUB_ENV"

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ require (
github.com/holiman/uint256 v1.2.4
github.com/knadh/koanf v1.4.0
github.com/mailru/easygo v0.0.0-20190618140210-3c14a0dc985f
github.com/miguelmota/go-ethereum-hdwallet v0.1.2
github.com/mitchellh/mapstructure v1.4.1
github.com/offchainlabs/bold v0.0.0-00010101000000-000000000000
github.com/pkg/errors v0.9.1
Expand Down Expand Up @@ -204,7 +205,6 @@ require (
github.com/btcsuite/btcd v0.22.1 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce // indirect
github.com/miguelmota/go-ethereum-hdwallet v0.1.2 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/rs/cors v1.7.0 // indirect
github.com/sigurn/crc8 v0.0.0-20220107193325-2243fe600f9f // indirect
Expand Down

0 comments on commit d99a3ed

Please sign in to comment.