Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Dec 9, 2024
1 parent a7462c2 commit 8a3a954
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.6
- uses: golangci/golangci-lint-action@v3
go-version: 1.23.4
- uses: golangci/golangci-lint-action@v6
with:
version: v1.55.1
version: v1.62.2
11 changes: 5 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ service:

run:
timeout: 2m
skip-dirs:
exclude-dirs:
- vendor

linters-settings:
govet:
check-shadowing: true
shadow: true
revive:
min-confidence: 0.1
rules:
Expand All @@ -28,12 +28,10 @@ linters-settings:
linters:
enable:
- bodyclose
- megacheck
- revive
- govet
- unconvert
- megacheck
- gas
- gosec
- gocyclo
- dupl
- misspell
Expand All @@ -42,7 +40,6 @@ linters:
- ineffassign
- stylecheck
- gochecknoinits
- exportloopref
- gocritic
- nakedret
- gosimple
Expand All @@ -51,6 +48,8 @@ linters:
- goimports
- gofmt
- errcheck
- staticcheck
- exportloopref

fast: false
disable-all: true
Expand Down
1 change: 0 additions & 1 deletion merklize/merklize.go
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,6 @@ func getCanonicalDouble(v float64) string {
return canonicalDoubleRegEx.ReplaceAllString(fmt.Sprintf("%1.15E", v), "${1}E${2}${3}")
}


// count number of entries with same key to distinguish between plain values
// and arrays (sets)
func countEntries(nodes []*ld.Quad) (map[qArrKey]int, error) {
Expand Down

0 comments on commit 8a3a954

Please sign in to comment.