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

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

No files matched your search

+2
View File
@@ -37,3 +37,5 @@ jobs:
if: ${{ !contains(matrix.os, 'ARMHF') }}
- name: Lint
run: make lint
- name: Check Locks
run: make check-locks
+1 -1
View File
@@ -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
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
+1 -1
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