Skip to content

Commit d074e2d

Browse files
committed
Update linting and golangci-lint version
Signed-off-by: SabreenKaur <[email protected]>
1 parent 53373c8 commit d074e2d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install golangci-lint
1414
run: |
1515
go version
16-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2
16+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2
1717
- name: Run required linters in .golangci.yml plus hard-coded ones here
1818
run: $(go env GOPATH)/bin/golangci-lint run --timeout=3m
1919
- name: Run optional linters (not required to pass)

doc.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ we follow the Postel principle: refusing to encode unknown protocol entities,
1414
while accepting unknown values - provided they fit the underlying type
1515
system.
1616
17-
Creating Tags
17+
# Creating Tags
1818
1919
A tag can be created with a call to NewTag() specifying a tag ID,
2020
the name of the software being described and its version:
@@ -84,8 +84,7 @@ JSON marshalers:
8484
8585
data, err := tag.ToXML() // or tag.ToCBOR(), or tag.ToJSON()
8686
87-
88-
Consuming Tags
87+
# Consuming Tags
8988
9089
A tag can be de-serialized using one of the "From" interfaces. For example,
9190
to decode a CoSWID tag from a memory buffer:

0 commit comments

Comments
 (0)