Skip to content

Commit 17b78d9

Browse files
committed
IND-3870 enabling dependabot
1 parent a6dacbe commit 17b78d9

File tree

6 files changed

+50
-6
lines changed

6 files changed

+50
-6
lines changed

‎.github/dependabot.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright (c) HashiCorp, Inc.
2+
# SPDX-License-Identifier: MPL-2.0
3+
4+
version: 2
5+
6+
updates:
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "sunday"
12+
commit-message:
13+
prefix: "[chore] : "
14+
groups:
15+
actions:
16+
patterns:
17+
- "*"
18+
19+
- package-ecosystem: "gomod"
20+
directories:
21+
- "/"
22+
- "/arc"
23+
schedule:
24+
interval: "weekly"
25+
day: "sunday"
26+
commit-message:
27+
prefix: "[chore] : "
28+
groups:
29+
go:
30+
patterns:
31+
- "*"
32+
applies-to: "version-updates"
33+
go-security:
34+
patterns:
35+
- "*"
36+
applies-to: "security-updates"

‎.go-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19
1+
1.23

‎.golangci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ linters:
66
disable-all: true
77
enable:
88
- revive
9-
- megacheck
9+
- staticcheck
1010
- govet
1111
- unconvert
12-
- gas
12+
- gosec
1313
- gocyclo
1414
- dupl
1515
- misspell
@@ -18,7 +18,7 @@ linters:
1818
- typecheck
1919
- ineffassign
2020
# - stylecheck
21-
- exportloopref
21+
- copyloopvar
2222
- gocritic
2323
- nakedret
2424
- gosimple

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Unreleased
2+
3+
### Improvements
4+
5+
### Changes
6+
7+
### Fixed
8+
9+
### Security

‎expirable/expirable_lru_test.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ func TestLRUWithPurgeEnforcedBySize(t *testing.T) {
300300
lc := NewLRU[string, string](10, nil, time.Hour)
301301

302302
for i := 0; i < 100; i++ {
303-
i := i
304303
lc.Add(fmt.Sprintf("key%d", i), fmt.Sprintf("val%d", i))
305304
v, ok := lc.Get(fmt.Sprintf("key%d", i))
306305
if v != fmt.Sprintf("val%d", i) {

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/hashicorp/golang-lru/v2
22

3-
go 1.19
3+
go 1.23

0 commit comments

Comments
 (0)