Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: golangci-lint v1.53.1 #3117

Merged
merged 1 commit into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 #v3.5.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed 8e5e7e5ab8b370d6c329ec480221332ada57f0ab.

- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2"
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.1"
- name: Build
run: go build ./...
- name: Test
Expand Down
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
run:
deadline: 10m

linters:
build-tags:
- rpctest

linters:
disable-all: true
enable:
- asciicheck
Expand Down
5 changes: 3 additions & 2 deletions internal/integration/rpctests/treasury_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,11 @@ func assertTBaseAmount(t *testing.T, node *rpcclient.Client, amount int64) {
// TestTreasury performs a test of treasury functionality across the entire
// dcrd stack.
func TestTreasury(t *testing.T) {
// TODO: Remove once the RPC test framework is updated to work with the
// latest simnet.
// TODO: Remove this comment and the nolint line below once the RPC
// test framework is updated to work with the latest simnet.
return

// nolint:govet
var handlers *rpcclient.NotificationHandlers
net := chaincfg.SimNetParams()

Expand Down