mirror of
https://github.com/kopia/kopia.git
synced 2026-05-12 00:39:03 -04:00
chore(ci): reenable check-locks after the fix was merged upstream (#3245)
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -37,3 +37,5 @@ jobs:
|
||||
if: ${{ !contains(matrix.os, 'ARMHF') }}
|
||||
- name: Lint
|
||||
run: make lint
|
||||
- name: Check Locks
|
||||
run: make check-locks
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"github.com/kopia/kopia/repo/blob"
|
||||
)
|
||||
|
||||
var ErrBlobLocked = errors.New("cannot alter object before retention period expires")
|
||||
var ErrBlobLocked = errors.New("cannot alter object before retention period expires") // +checklocksignore
|
||||
|
||||
type entry struct {
|
||||
value []byte
|
||||
|
||||
4
internal/cache/persistent_lru_cache.go
vendored
4
internal/cache/persistent_lru_cache.go
vendored
@@ -37,7 +37,9 @@ type PersistentCache struct {
|
||||
storageProtection cacheprot.StorageProtection
|
||||
sweep SweepSettings
|
||||
timeNow func() time.Time
|
||||
lastCacheWarning time.Time
|
||||
|
||||
// +checklocks:listCacheMutex
|
||||
lastCacheWarning time.Time
|
||||
|
||||
description string
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ endif
|
||||
|
||||
# tool versions
|
||||
GOLANGCI_LINT_VERSION=1.54.0
|
||||
CHECKLOCKS_VERSION=release-20221026.0
|
||||
CHECKLOCKS_VERSION=e8c1fff214d0ecf02cfe5aa9c62d11174130c339
|
||||
NODE_VERSION=18.16.0
|
||||
HUGO_VERSION=0.113.0
|
||||
GOTESTSUM_VERSION=1.10.0
|
||||
|
||||
Reference in New Issue
Block a user