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

Fix: updated GitHub action to make reviewdog compatible with "new-from-rev" option #1142

Merged
merged 13 commits into from
Mar 27, 2021
6 changes: 6 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:

- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: "^1.16.2"

- name: Run golangci-lint # reviewdog v1.19.0, golangci-lint v1.38.0
uses: reviewdog/action-golangci-lint@93be4324306dcbba508544d891a7b0576bb28ddd
Expand Down
2 changes: 1 addition & 1 deletion packages/markers/sequence.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (s SequenceIDs) Alias() (aggregatedSequencesID SequenceAlias) {
return
}

// Bytes returns a marshaled version of the SequenceIDs.
// Bytes0sssg returns a marshaled version of the SequenceIDs.
hmoog marked this conversation as resolved.
Show resolved Hide resolved
func (s SequenceIDs) Bytes() (marshaledSequenceIDs []byte) {
marshalUtil := marshalutil.New()
marshalUtil.WriteUint32(uint32(len(s)))
Expand Down