mirror of
https://github.com/kopia/kopia.git
synced 2026-10-20 13:14:45 -04:00
chore(ci): reenable check-locks after the fix was merged upstream (#3245)
This commit is contained in:
1 parent
42c251f4da
commit
1120e4f629
4 files changed
+7
-3
No files matched your search
@@ -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 @@ import (
|
||||
"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
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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