Skip to content

Commit

Permalink
all: update GHA, remove now-unneeded lint mute
Browse files Browse the repository at this point in the history
  • Loading branch information
twmb committed May 26, 2024
1 parent c46b0f8 commit f033465
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: staticcheck
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
name: "golangci-lint on amd64"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m
Expand Down
2 changes: 1 addition & 1 deletion pkg/kgo/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ func (cl *Client) listOffsetsForBrokerLoad(ctx context.Context, broker *broker,
delete(load, topic)
}

offset := poffset(&rPartition) //nolint:gosec // poffset returns int64 from input, does not save pointer
offset := poffset(&rPartition)
end := func() int64 { return poffset(&resp2.Topics[i].Partitions[j]) }

// We ensured the resp2 shape is as we want and has no
Expand Down

0 comments on commit f033465

Please sign in to comment.