Skip to content

Commit 56ab43c

Browse files
dependabot[bot]jnyi
authored andcommitted
build(deps): bump actions/cache from 4.0.2 to 4.2.1 (thanos-io#8122)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.2.1. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@0c45773...0c907a7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Yi Jin <[email protected]>
1 parent 03b8fd1 commit 56ab43c

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/docs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
with:
2626
go-version: 1.23.x
2727

28-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
28+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
2929
with:
3030
path: ~/go/pkg/mod
3131
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
3232
restore-keys: |
3333
${{ runner.os }}-go-
3434
35-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
35+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
3636
with:
3737
path: .mdoxcache
3838
key: ${{ runner.os }}-mdox-${{ hashFiles('docs/**/*.md', 'examples/**/*.md', 'mixin/**/*.md', '*.md') }}

.github/workflows/go.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
go-version: 1.23.x
5959

60-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
60+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
6161
with:
6262
path: |
6363
~/.cache/go-build
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
go-version: 1.23.x
8686

87-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
87+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
8888
with:
8989
path: |
9090
~/.cache/go-build
@@ -111,7 +111,7 @@ jobs:
111111
with:
112112
go-version: 1.23.x
113113

114-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
114+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
115115
with:
116116
path: |
117117
~/.cache/go-build
@@ -160,7 +160,7 @@ jobs:
160160
with:
161161
go-version: 1.23.x
162162

163-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
163+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
164164
with:
165165
path: |
166166
~/.cache/go-build

.github/workflows/react.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node }}
2727

28-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
28+
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
2929
with:
3030
path: ~/.npm
3131
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

pkg/block/fetcher.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ func NewConcurrentLister(logger log.Logger, bkt objstore.InstrumentedBucketReade
278278
func (f *ConcurrentLister) GetActiveAndPartialBlockIDs(ctx context.Context, ch chan<- ulid.ULID) (partialBlocks map[ulid.ULID]bool, err error) {
279279
level.Info(f.logger).Log("msg", "concurrent block lister started")
280280
start := time.Now()
281-
defer level.Info(f.logger).Log("msg", "concurrent block lister end", "duration", time.Since(start))
281+
defer func() {
282+
level.Info(f.logger).Log("msg", "concurrent block lister end", "duration", time.Since(start))
283+
}()
282284
const concurrency = 64
283285

284286
partialBlocks = make(map[ulid.ULID]bool)

0 commit comments

Comments
 (0)