chore(ci): reenable check-locks after the fix was merged upstream (#3245)

This commit is contained in:
Jarek Kowalski
2023-08-22 19:41:03 -07:00
committed by GitHub
parent 42c251f4da
commit 1120e4f629
4 changed files with 7 additions and 3 deletions

View File

@@ -37,3 +37,5 @@ jobs:
if: ${{ !contains(matrix.os, 'ARMHF') }}
- name: Lint
run: make lint
- name: Check Locks
run: make check-locks

View File

@@ -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

View File

@@ -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

View File

@@ -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