Skip to content

Commit

Permalink
fix: gomodtidy + skip err check
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed May 20, 2024
1 parent 66a4a00 commit 33641eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gauntlet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop -c yarn --cwd ./gauntlet install --frozen-lockfile
- run: nix develop -c yarn --cwd ./gauntlet eslint
- name: Print lint report artifact
if: failure()
shell: bash
run: cat ./gauntlet/eslint-report.json
- name: Upload eslint report
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.21.7
replace github.com/smartcontractkit/chainlink-solana => ../

require (
github.com/ethereum/go-ethereum v1.13.8
github.com/gagliardetto/binary v0.7.7
github.com/gagliardetto/solana-go v1.8.4
github.com/google/uuid v1.6.0
Expand Down Expand Up @@ -136,6 +135,7 @@ require (
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
github.com/esote/minmaxheap v1.0.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/ethereum/go-ethereum v1.13.8 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
Expand Down
6 changes: 2 additions & 4 deletions pkg/solana/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,13 @@ func TestCache(t *testing.T) {
// state query
if bytes.Contains(body, []byte("11111111111111111111111111111111")) {
// Drop error, client may cancel ctx.
_, err = w.Write(testStateResponse())
require.NoError(t, err)
w.Write(testStateResponse()) //nolint:errcheck
return
}

// transmissions query
// Drop error, client may cancel ctx.
_, err = w.Write(testTransmissionsResponse(t, body, 0))
require.NoError(t, err)
w.Write(testTransmissionsResponse(t, body, 0)) //nolint:errcheck
}))

lggr := logger.Test(t)
Expand Down

0 comments on commit 33641eb

Please sign in to comment.