Skip to content

Commit

Permalink
ci: checkout submodules too
Browse files Browse the repository at this point in the history
Also, swallow encoder error in state query tests so golangci-lint
passes.

Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 committed Jan 14, 2025
1 parent 19cbb32 commit cb880e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
Expand Down
2 changes: 1 addition & 1 deletion state_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ func TestClient_UtxosByTxIn(t *testing.T) {

encoder := json.NewEncoder(os.Stdout)
encoder.SetIndent("", " ")
encoder.Encode(utxos)
_ = encoder.Encode(utxos)
}

0 comments on commit cb880e0

Please sign in to comment.