Skip to content

Commit

Permalink
adjust lint action to avoid double caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Tantalor93 committed Nov 21, 2023
1 parent b83a5b1 commit 64df9a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
cache: false
go-version-file: go.mod
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
version: v1.55.2
3 changes: 3 additions & 0 deletions cmd/doq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ func readDOQMessage(r io.Reader) (*dns.Msg, error) {

buf := make([]byte, size)
_, err = io.ReadFull(r, buf)
if err != nil {
return nil, err
}

// A client or server receives a STREAM FIN before receiving all the bytes
// for a message indicated in the 2-octet length field.
Expand Down

0 comments on commit 64df9a9

Please sign in to comment.